Logo (Sixel): fixes allocator leak on output allocation failure (#2610)

This commit is contained in:
minnnjuuu
2026-09-23 23:50:22 +09:00
committed by GitHub
parent f8df95d146
commit 3a9595e121
+1
View File
@@ -59,6 +59,7 @@ sixel_output_new(
sixel_helper_set_additional_message(
"sixel_output_new: sixel_allocator_malloc() failed.");
status = SIXEL_BAD_ALLOCATION;
sixel_allocator_unref(allocator);
goto end;
}