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

Git pushed a commit to branch master
in repository ffmpeg.

commit ddb610f9fe90b4f0c4c6ba757e51c2448939ce64
Author:     zhang xingxing <[email protected]>
AuthorDate: Tue Oct 13 06:58:35 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 11:36:57 2026 +0000

    avfilter/qrencode: free the rendered width expressions
    
    This is not a security issue.
    
    Fixes: oFKoC1YimRPu
    Fixes: 
swarm-Memory-leak-qr--text-and-pexpr-fields-not-freed-in-uninit-5cc723
    
    Found-by: zhang xingxing <[email protected]>
    
    Memory leak Replicated through UnModified FFmpeg with LSAN
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/qrencode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/qrencode.c b/libavfilter/qrencode.c
index 29fa5d3785..98344fa43e 100644
--- a/libavfilter/qrencode.c
+++ b/libavfilter/qrencode.c
@@ -334,6 +334,8 @@ static av_cold void uninit(AVFilterContext *ctx)
 
     av_expr_free(qr->x_pexpr);
     av_expr_free(qr->y_pexpr);
+    av_expr_free(qr->rendered_qrcode_width_pexpr);
+    av_expr_free(qr->rendered_padded_qrcode_width_pexpr);
 
     av_bprint_finalize(&qr->expanded_text, NULL);
 

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