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

Git pushed a commit to branch master
in repository ffmpeg.

commit ca191fff06e10689572973e37cbf1f2bab1eb14e
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Nov 12 02:00:43 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Tue Nov 17 03:59:35 2026 +0000

    avfilter/vf_drawtext: free the options of the new context when reinit fails
    
    Fixes: memory leak
---
 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