[ot-font] Fix leak

Fixes https://github.com/harfbuzz/harfbuzz/issues/1171

I'm glad we have leak-detector bots now.
This commit is contained in:
Behdad Esfahbod 2018-09-23 19:12:52 -04:00
parent ae39a53f55
commit d7f21777e6
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ struct post
{
index_to_offset.fini ();
free (gids_sorted_by_name.get ());
hb_blob_destroy (blob);
}
inline bool get_glyph_name (hb_codepoint_t glyph,