diff --git a/libavfilter/vf_overlay_opencl.c b/libavfilter/vf_overlay_opencl.c index 46ce42df84..ee8381dfee 100644 --- a/libavfilter/vf_overlay_opencl.c +++ b/libavfilter/vf_overlay_opencl.c @@ -250,6 +250,7 @@ fail_kernel_arg: kernel_arg, cle); err = AVERROR(EIO); fail: + av_frame_free(&output); return err; }