diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-01-10 23:25:56 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-01-10 23:25:56 +0000 |
commit | 9b4611a1c1f2ac5d1bfd75f7e6e41aa0bc15ca39 (patch) | |
tree | e4decd4f68c70e72ad18f2a59f1dab58f17b21b9 | |
parent | 6cc44c058396c51a52e868c4293692b43047e8f4 (diff) | |
download | ffmpeg-9b4611a1c1f2ac5d1bfd75f7e6e41aa0bc15ca39.tar.gz |
vf_overlay_opencl: Don't leak output frame on error
Fixes CID #1423277.
-rw-r--r-- | libavfilter/vf_overlay_opencl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |