aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-10-20 11:56:30 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-10-20 12:20:57 -0700
commitf11c557662dee16a59bb54276c50a96e4e675201 (patch)
treeb61613e7ae8227466421bb204059431e2a196e92
parent440a675c7cc72c7c77b4ad7b20c855c53808ef48 (diff)
downloadharfbuzz_ng-f11c557662dee16a59bb54276c50a96e4e675201.tar.gz
[test] Fix leak
-rw-r--r--test/api/test-font.c2
1 files changed, 2 insertions, 0 deletions
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