提交 ca37172e 编写于 作者: M Michiharu Ariza

fixed leak

上级 ce6639cd
......@@ -49,6 +49,8 @@ test_extents_cff1 (void)
g_assert_cmpint (extents.width, ==, 381);
g_assert_cmpint (extents.height, ==, -510);
hb_font_destroy (font);
hb_face_t *face_j = hb_subset_test_open_font ("fonts/SourceHanSans-Regular.41,3041,4C2E.otf");
g_assert (face_j);
hb_font_t *font_j = hb_font_create (face_j);
......@@ -64,7 +66,7 @@ test_extents_cff1 (void)
g_assert_cmpint (extents.width, ==, 920);
g_assert_cmpint (extents.height, ==, -907);
hb_font_destroy (font);
hb_font_destroy (font_j);
}
static void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册