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

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

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

commit 1a60a7f85b3cae0b1ea62e62220ded7facbd8324
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