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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new d3a56ed37b swscale/tests/sws_ops: fix uops leak on translate success 
path
d3a56ed37b is described below

commit d3a56ed37b36511138313f0b489e168efb3a9115
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Jun 10 04:57:34 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Wed Jun 10 07:48:37 2026 +0000

    swscale/tests/sws_ops: fix uops leak on translate success path
    
    Fall through to the existing cleanup so uops is freed on both the success
    and failure paths.
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libswscale/tests/sws_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/tests/sws_ops.c b/libswscale/tests/sws_ops.c
index 30b9893e36..5264cd55d1 100644
--- a/libswscale/tests/sws_ops.c
+++ b/libswscale/tests/sws_ops.c
@@ -61,7 +61,7 @@ static int print_ops(SwsContext *ctx, const SwsOpList *ops, 
SwsCompiledOp *out)
 
     *out = (SwsCompiledOp) {0}; /* dummy value, will be immediately freed */
     pass_idx++;
-    return 0;
+    ret = 0;
 
 fail:
     ff_sws_uop_list_free(&uops);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to