should use free instead of delete for malloced data.

This commit is contained in:
ehofman
2009-10-22 12:07:56 +00:00
committed by Tim Moore
parent 5d731ad8c3
commit cd8e7bbdca

View File

@@ -167,7 +167,7 @@ public:
* Free the data associated with this audio sample
*/
void free_data() {
delete _data.release();
free( _data.release() );
}
/**