decoder/faad: fix memory leak
This commit is contained in:
parent
e490e5d0ab
commit
fdd76b3461
2
NEWS
2
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue