diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-18 13:12:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-18 13:12:06 +0100 |
commit | bdb31942174c4673c7f212378951366e0704668d (patch) | |
tree | 455f4b62eae258060382ae641cfe7e4ac91ff071 | |
parent | a76e91bf6708f8a4d17a69b157c4a860ccdcda95 (diff) | |
download | ffmpeg-bdb31942174c4673c7f212378951366e0704668d.tar.gz |
avfilter/vf_qp: Fix leak of out_qp_table_buf
Fixes CID1270821
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_qp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c index 9c0679a70f..d9766344c9 100644 --- a/libavfilter/vf_qp.c +++ b/libavfilter/vf_qp.c @@ -95,6 +95,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) out = av_frame_clone(in); if (!out) { + av_buffer_unref(&out_qp_table_buf); ret = AVERROR(ENOMEM); goto fail; } |