vlc | branch: master | Filip Roséen <[email protected]> | Fri Sep 23 15:43:12 2016 +0200| [f62171173258d6a6d58d8a0d28a8b655802736d5] | committer: Thomas Guillem
input/decoder: fix leak if DecoderPlaySout fail fixes #17427 Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f62171173258d6a6d58d8a0d28a8b655802736d5 --- src/input/decoder.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/decoder.c b/src/input/decoder.c index e894925..a736143 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -838,6 +838,10 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block ) p_dec->b_error = true; /* Cleanup */ + + if( p_block ) + block_Release( p_block ); + block_ChainRelease( p_next ); return; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
