Commit ca191fff06 for ffmpeg

commit ca191fff06e10689572973e37cbf1f2bab1eb14e
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Thu Nov 12 02:00:43 2026 +0100

    avfilter/vf_drawtext: free the options of the new context when reinit fails

    Fixes: memory leak

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