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

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

commit 8fbb2f574ac8dc036908e31a45070498f8408dc2
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Nov 12 02:00:43 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Thu Nov 19 14:55:43 2026 +0100

    avfilter/vf_drawtext: free the options of the new context when reinit fails
    
    Fixes: memory leak
    (cherry picked from commit ca191fff06e10689572973e37cbf1f2bab1eb14e)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_drawtext.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index f17ce66494..f12c8a7758 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -1257,6 +1257,7 @@ static int command(AVFilterContext *ctx, const char *cmd, 
const char *arg, char
 
 fail:
     av_log(ctx, AV_LOG_ERROR, "Failed to process command. Continuing with 
existing parameters.\n");
+    av_opt_free(new);
     av_freep(&new);
     return ret;
 }

-- 
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