]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_openal.cxx
Let the application free the buffer data.
[simgear.git] / simgear / sound / sample_openal.cxx
index 705b4d545eceec5c833a2f217476101dda15c283..6f913bd881f062b316496209de0ca4b2ac36e710 100644 (file)
@@ -179,8 +179,6 @@ SGSoundSample::SGSoundSample( unsigned char *_data, int len, int _freq ) :
         throw sg_exception("Failed to buffer data.");
     }
 
-    free(_data);
-
     print_openal_error("constructor return");
 }