mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
Return NULL when asking for 0 bytes with MM_ALLOC (#2986)
This commit is contained in:
committed by
GitHub
parent
6e1e632baf
commit
c5cc89d691
@@ -151,9 +151,7 @@ SampleBuffer::SampleBuffer( const f_cnt_t _frames ) :
|
||||
|
||||
SampleBuffer::~SampleBuffer()
|
||||
{
|
||||
if( m_origData != NULL )
|
||||
MM_FREE( m_origData );
|
||||
|
||||
MM_FREE( m_origData );
|
||||
MM_FREE( m_data );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user