提交 bb4d2e6e 编写于 作者: B Behdad Esfahbod

[GX] Free GX coordinates

上级 baa329c6
......@@ -1254,7 +1254,10 @@ hb_font_destroy (hb_font_t *font)
hb_face_destroy (font->face);
hb_font_funcs_destroy (font->klass);
/* TODO: destroy variation coordinates. */
if (font->x_coords)
free (font->x_coords);
if (font->y_coords && font->y_coords != font->x_coords)
free (font->y_coords);
free (font);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册