[subset] Fix memory leak in hb-subset-plan.

This commit is contained in:
Garret Rieger 2018-02-23 15:44:21 -08:00
parent 66b0a39079
commit e61f360dc8
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ _populate_gids_to_retain (hb_face_t *face,
while (hb_set_next (all_gids_to_retain, &gid))
*(old_gids_sorted.push ()) = gid;
hb_set_destroy (all_gids_to_retain);
glyf.fini ();
cmap.fini ();
}