ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Mon Nov 27 12:08:20 
2023 +0100| [5f87a68cf70dafeab2fb89b42e41a4c29053b89b] | committer: Paul B Mahol

avfilter/vf_colorcorrect: fix memory leaks

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f87a68cf70dafeab2fb89b42e41a4c29053b89b
---

 libavfilter/vf_colorcorrect.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c
index 1c4dea531b..6bdec2c9d8 100644
--- a/libavfilter/vf_colorcorrect.c
+++ b/libavfilter/vf_colorcorrect.c
@@ -497,6 +497,8 @@ static av_cold void uninit(AVFilterContext *ctx)
     ColorCorrectContext *s = ctx->priv;
 
     av_freep(&s->analyzeret);
+    av_freep(&s->uhistogram);
+    av_freep(&s->vhistogram);
 }
 
 static const AVFilterPad colorcorrect_inputs[] = {

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

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

Reply via email to