vf_overlay_opencl: Don't leak output frame on error

Fixes CID #1423277.
This commit is contained in:
Mark Thompson 2018-01-10 23:25:56 +00:00
parent 6cc44c0583
commit 9b4611a1c1

View File

@ -250,6 +250,7 @@ fail_kernel_arg:
kernel_arg, cle);
err = AVERROR(EIO);
fail:
av_frame_free(&output);
return err;
}