diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 7b6b932fb4aaa1af297564217b47b68ba37793a9..13acb8c98a232c7988435f9be39898d3df422dc2 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -365,5 +365,6 @@ hb_subset (hb_face_t *source, } } while (count == ARRAY_LENGTH (table_tags)); + hb_subset_plan_destroy (plan); return success ? dest : hb_face_get_empty (); }