aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/decoder/FaadDecoderPlugin.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e222e0965..1a6f00f9c 100644
--- a/NEWS
+++ b/NEWS
@@ -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