Browse Source

Fix memory leak in the mp3 decoder, turned out to be of pretty decent size (bug #395)

Bart van Strien 13 years ago
parent
commit
124e9d1d2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/sound/lullaby/Mpg123Decoder.cpp

+ 1 - 1
src/modules/sound/lullaby/Mpg123Decoder.cpp

@@ -68,7 +68,7 @@ namespace lullaby
 
 	Mpg123Decoder::~Mpg123Decoder()
 	{
-		mpg123_close(handle);
+		mpg123_delete(handle);
 
 	}