should use free instead of delete for malloced data.

This commit is contained in:
ehofman
2009-10-22 22:52:05 +02:00
committed by Tim Moore
parent 5d731ad8c3
commit cd8e7bbdca
+1 -1
View File
@@ -167,7 +167,7 @@ public:
* Free the data associated with this audio sample * Free the data associated with this audio sample
*/ */
void free_data() { void free_data() {
delete _data.release(); free( _data.release() );
} }
/** /**