mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 19:24:52 -04:00
Cleaning up null-pointer-deallocation warnings.
This commit is contained in:
@@ -149,7 +149,9 @@ SampleBuffer::SampleBuffer( const f_cnt_t _frames ) :
|
||||
|
||||
SampleBuffer::~SampleBuffer()
|
||||
{
|
||||
MM_FREE( m_origData );
|
||||
if( m_origData != NULL )
|
||||
MM_FREE( m_origData );
|
||||
|
||||
MM_FREE( m_data );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user