Re: [libav-devel] [PATCH 1/6] qsvdec: fix a memleak of async_fifo

2015-07-22 Thread Luca Barbato
On 21/07/15 21:19, Anton Khirnov wrote: > init() is called whenever format changes, so current code would leak the > fifo in this case. > --- > libavcodec/qsvdec.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) Ok. ___ libav-devel m

[libav-devel] [PATCH 1/6] qsvdec: fix a memleak of async_fifo

2015-07-21 Thread Anton Khirnov
init() is called whenever format changes, so current code would leak the fifo in this case. --- libavcodec/qsvdec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 489375c..ef781d9 100644 --- a/libavcodec/qsvdec.c +++ b