diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/decoder/FaadDecoderPlugin.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,8 @@ ver 0.18.7 (not yet released) * playlist - pls: fix crash after parser error - soundcloud: fix build failure with libyajl 2.0.1 +* decoder + - faad: fix memory leak * daemon: don't initialize supplementary groups when already running as the configured user diff --git a/src/decoder/FaadDecoderPlugin.cxx b/src/decoder/FaadDecoderPlugin.cxx index f1dd5a343..9fd20167d 100644 --- a/src/decoder/FaadDecoderPlugin.cxx +++ b/src/decoder/FaadDecoderPlugin.cxx @@ -393,6 +393,7 @@ faad_stream_decode(Decoder &mpd_decoder, InputStream &is) if (!ret) { LogError(error); NeAACDecClose(decoder); + decoder_buffer_free(buffer); return; } @@ -461,6 +462,7 @@ faad_stream_decode(Decoder &mpd_decoder, InputStream &is) /* cleanup */ NeAACDecClose(decoder); + decoder_buffer_free(buffer); } static bool |