PR #23429 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23429 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23429.patch
Fall through to the existing cleanup so uops is freed on both the success and failure paths. Signed-off-by: Michael Niedermayer <[email protected]> >From ab292a761fa2247282dd7cba5de79afb05cd8e73 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <[email protected]> Date: Wed, 10 Jun 2026 04:57:34 +0200 Subject: [PATCH] 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); -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
