]> git.tdb.fi Git - libs/al.git/blobdiff - source/mp3decoder.cpp
Plug a memory leak in Mp3Decoder
[libs/al.git] / source / mp3decoder.cpp
index a717cf4b3b4dde400cac7b234d4cecf6db822c1d..8ddad47032ee08eae3155ec133747773f9546726 100644 (file)
@@ -71,6 +71,7 @@ Mp3Decoder::~Mp3Decoder()
        mad_synth_finish(&priv->synth);
        mad_frame_finish(&priv->frame);
        mad_stream_finish(&priv->stream);
+       delete priv;
 }
 
 bool Mp3Decoder::detect(const string &sig)