ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Wed Feb 18 13:12:06 2015 +0100| [bdb31942174c4673c7f212378951366e0704668d] | committer: Michael Niedermayer
avfilter/vf_qp: Fix leak of out_qp_table_buf Fixes CID1270821 Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bdb31942174c4673c7f212378951366e0704668d --- libavfilter/vf_qp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c index 9c0679a..d976634 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; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
