Cleaning up null-pointer-deallocation warnings.

This commit is contained in:
Christopher L. Simons
2014-12-02 18:07:56 -05:00
parent 1d929d6ce7
commit b1414eba23

View File

@@ -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 );
}