This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 076fd43b95ad3c03bc307eaa6f82405fa1746605 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 21 23:16:45 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue Nov 24 22:01:01 2026 +0100 avfilter/dnn_filter_common: free the options of the DNN child contexts Found during triage/review of the security report WobrPAzJQZg5 Fixes: memleak (cherry picked from commit 1281c683d30665414bb62fe5325e19fc552ccb96) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/dnn_filter_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/dnn_filter_common.c b/libavfilter/dnn_filter_common.c index 73c5e6b33c..ffa9383548 100644 --- a/libavfilter/dnn_filter_common.c +++ b/libavfilter/dnn_filter_common.c @@ -233,6 +233,8 @@ void ff_dnn_uninit(DnnContext *ctx) if (ctx->dnn_module) { (ctx->dnn_module->free_model)(&ctx->model); } + for (void *child = NULL; (child = ff_dnn_child_next(ctx, child));) + av_opt_free(child); if (ctx->model_outputnames) { for (int i = 0; i < ctx->nb_outputs; i++) av_free(ctx->model_outputnames[i]); -- 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]
