]> git.tdb.fi Git - libs/al.git/commitdiff
Fix a memory leak
authorMikko Rasa <tdb@tdb.fi>
Fri, 6 Mar 2015 18:44:00 +0000 (20:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 6 Mar 2015 18:44:00 +0000 (20:44 +0200)
source/jukebox.cpp

index b753e6b9eb58bf391a13d2e5b0ef42735b8c9045..d79e4c1420804631ade9d91818ff932f6d3f003f 100644 (file)
@@ -22,6 +22,7 @@ Jukebox::~Jukebox()
 {
        streamer.stop();
        delete decoder;
+       delete in;
 }
 
 void Jukebox::set_playlist(const Playlist *p)