Re: [FFmpeg-devel] [PATCH] avcodec/h264dec: Fix init_context memleak on error path

2018-09-10 Thread Zhao Zhili
Please review, thanks! On 2018年09月05日 16:53, Zhao Zhili wrote: --- libavcodec/h264dec.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 8d115fa..b2447e9 100644 --- a/libavcodec/h264dec.c +++ b/

[FFmpeg-devel] [PATCH] avcodec/h264dec: Fix init_context memleak on error path

2018-09-05 Thread Zhao Zhili
--- libavcodec/h264dec.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 8d115fa..b2447e9 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -303,6 +303,7 @@ fail: static int h264_init