This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/6.0
in repository ffmpeg.

The following commit(s) were added to refs/heads/release/6.0 by this push:
     new 110e2cd229 avfilter/vf_colorcorrect: fix memory leaks
110e2cd229 is described below

commit 110e2cd229d5acfdd950f5d09381afc41c263523
Author:     Paul B Mahol <[email protected]>
AuthorDate: Mon Nov 27 12:08:20 2023 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Wed Sep 9 22:39:57 2026 +0000

    avfilter/vf_colorcorrect: fix memory leaks
    
    (cherry picked from commit 5f87a68cf70dafeab2fb89b42e41a4c29053b89b)
    
    Assisted-by: Fairy
---
 libavfilter/vf_colorcorrect.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_colorcorrect.c b/libavfilter/vf_colorcorrect.c
index ee97b62b0e..ac2de2a357 100644
--- a/libavfilter/vf_colorcorrect.c
+++ b/libavfilter/vf_colorcorrect.c
@@ -498,6 +498,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[] = {

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to