Commit bdb31942 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_qp: Fix leak of out_qp_table_buf

Fixes CID1270821
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a76e91bf
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment