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 <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2026-06-10 07:48:37 +00:00
committed by Niklas Haas
co-authored by Niklas Haas
parent a5ee6ff720
commit d3a56ed37b
+1 -1
View File
@@ -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);