]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_openal.hxx
.. and remove some debugging code
[simgear.git] / simgear / sound / sample_openal.hxx
index ae985ebaaf56415242a340a0148a315ac0f2e7bc..070cba89815e1cda0f339d516c13ed007d1915a9 100644 (file)
@@ -167,7 +167,7 @@ public:
      * Free the data associated with this audio sample
      */
     void free_data() {
-        delete _data.release();
+        free( _data.release() );
     }
 
     /**