diff --git a/test/api/test-font.c b/test/api/test-font.c index 728f9b96a..5ceb131a9 100644 --- a/test/api/test-font.c +++ b/test/api/test-font.c @@ -426,6 +426,8 @@ test_fontfuncs_parallels (void) /* Just test that calling get_nominal_glyph doesn't infinite-loop. */ hb_codepoint_t glyph; hb_font_get_nominal_glyph (font2, 0x0020u, &glyph); + + hb_font_destroy (font2); } static void