From e61f360dc828bfd46477b7ddff56874da9f03538 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Fri, 23 Feb 2018 15:44:21 -0800 Subject: [PATCH] [subset] Fix memory leak in hb-subset-plan. --- src/hb-subset-plan.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc index b9e299add..27c2c7f02 100644 --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc @@ -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 (); }