mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-03 17:10:53 +00:00
vf_overlay_opencl: Don't leak output frame on error
Fixes CID #1423277.
This commit is contained in:
parent
6cc44c0583
commit
9b4611a1c1
@ -250,6 +250,7 @@ fail_kernel_arg:
|
||||
kernel_arg, cle);
|
||||
err = AVERROR(EIO);
|
||||
fail:
|
||||
av_frame_free(&output);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user