vf_overlay_opencl: Don't leak output frame on error

Fixes CID #1423277.
pull/304/head
Mark Thompson 7 years ago
parent 6cc44c0583
commit 9b4611a1c1
  1. 1
      libavfilter/vf_overlay_opencl.c

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

Loading…
Cancel
Save