commit | f11c557662dee16a59bb54276c50a96e4e675201 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Sat Oct 20 11:56:30 2018 -0700 |
committer | Behdad Esfahbod <[email protected]> | Sat Oct 20 12:20:57 2018 -0700 |
tree | b61613e7ae8227466421bb204059431e2a196e92 | |
parent | 440a675c7cc72c7c77b4ad7b20c855c53808ef48 [diff] |
[test] Fix leak
diff --git a/test/api/test-font.c b/test/api/test-font.c index 728f9b9..5ceb131 100644 --- a/test/api/test-font.c +++ b/test/api/test-font.c
@@ -426,6 +426,8 @@ /* 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