diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-14 10:37:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-23 13:42:16 +0200 |
commit | 376e80ad7440cbb6e857ea1b48deb0b8cdf3ae90 (patch) | |
tree | a6d99d13a428a600b629a06546572ce485da41dd /libavfilter/vf_guided.c | |
parent | 618d186b8c2bdb42cdbc722be42ab9efb1f7cdd1 (diff) |
avfilter/vf_guided: Fix leak of frames
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_guided.c')
-rw-r--r-- | libavfilter/vf_guided.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index b0adf75886..6ded4c7c59 100644 --- a/libavfilter/vf_guided.c +++ b/libavfilter/vf_guided.c @@ -343,6 +343,7 @@ static int process_frame(FFFrameSync *fs) s->planewidth[plane], s->planeheight[plane], main_frame->linesize[plane] / 2, ref_frame->linesize[plane] / 2, out_frame->linesize[plane] / 2, (1 << s->depth) - 1.f); } + av_frame_free(&main_frame); return ff_filter_frame(outlink, out_frame); } |