Commit 631fa043 authored by Derek Buitenhuis's avatar Derek Buitenhuis

vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error

This fixes a double free in he error case.
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 6470abc7
......@@ -1037,7 +1037,6 @@ static int load_apply_palette(FFFrameSync *fs)
error:
av_frame_free(&master);
av_frame_free(&second);
return ret;
}
......
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