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
|
* playlist
|
||||||
- pls: fix crash after parser error
|
- pls: fix crash after parser error
|
||||||
- soundcloud: fix build failure with libyajl 2.0.1
|
- soundcloud: fix build failure with libyajl 2.0.1
|
||||||
|
* decoder
|
||||||
|
- faad: fix memory leak
|
||||||
* daemon: don't initialize supplementary groups when already running
|
* daemon: don't initialize supplementary groups when already running
|
||||||
as the configured user
|
as the configured user
|
||||||
|
|
||||||
|
@ -393,6 +393,7 @@ faad_stream_decode(Decoder &mpd_decoder, InputStream &is)
|
|||||||
if (!ret) {
|
if (!ret) {
|
||||||
LogError(error);
|
LogError(error);
|
||||||
NeAACDecClose(decoder);
|
NeAACDecClose(decoder);
|
||||||
|
decoder_buffer_free(buffer);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -461,6 +462,7 @@ faad_stream_decode(Decoder &mpd_decoder, InputStream &is)
|
|||||||
/* cleanup */
|
/* cleanup */
|
||||||
|
|
||||||
NeAACDecClose(decoder);
|
NeAACDecClose(decoder);
|
||||||
|
decoder_buffer_free(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
Loading…
Reference in New Issue
Block a user