don't double deinit

This commit is contained in:
Jacob Sandlund
2026-01-26 10:32:58 -05:00
parent 17af9c13e2
commit c2601dc7ec

View File

@@ -2127,7 +2127,6 @@ fn testShaperWithDiscoveredFont(alloc: Allocator, font_req: [:0]const u8) !TestS
var name_buf: [256]u8 = undefined;
const face_name = face.name(&name_buf) catch "(unknown)";
if (std.mem.indexOf(u8, face_name, font_req) == null) {
face.deinit();
return error.SkipZigTest;
}