should use free instead of delete for malloced data.
This commit is contained in:
@@ -167,7 +167,7 @@ public:
|
||||
* Free the data associated with this audio sample
|
||||
*/
|
||||
void free_data() {
|
||||
delete _data.release();
|
||||
free( _data.release() );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user