From f11c557662dee16a59bb54276c50a96e4e675201 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 20 Oct 2018 11:56:30 -0700 Subject: [PATCH] [test] Fix leak --- test/api/test-font.c | 2 ++ 1 file changed, 2 insertions(+) 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