Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavfilter/vf_guided.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index e10d397f2e..ce78507eb6 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -353,6 +353,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);
 }
-- 
2.27.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to