Commit 9b4611a1 authored by Mark Thompson's avatar Mark Thompson

vf_overlay_opencl: Don't leak output frame on error

Fixes CID #1423277.
parent 6cc44c05
......@@ -250,6 +250,7 @@ fail_kernel_arg:
kernel_arg, cle);
err = AVERROR(EIO);
fail:
av_frame_free(&output);
return err;
}
......
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