From: ehofman Date: Thu, 22 Oct 2009 12:07:56 +0000 (+0000) Subject: should use free instead of delete for malloced data. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd8e7bbdca855089c788933652e36e71a97427f1;p=simgear.git should use free instead of delete for malloced data. --- diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index ae985eba..070cba89 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -167,7 +167,7 @@ public: * Free the data associated with this audio sample */ void free_data() { - delete _data.release(); + free( _data.release() ); } /**