From cd8e7bbdca855089c788933652e36e71a97427f1 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 22 Oct 2009 12:07:56 +0000 Subject: [PATCH] should use free instead of delete for malloced data. --- simgear/sound/sample_openal.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } /** -- 2.39.5