From 5df080bf155a12f98929b99438da492063ab9218 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Mon, 12 Feb 2018 10:15:59 -0800 Subject: [PATCH] Destroy the subset plan at the end of subsetting. --- src/hb-subset.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 7b6b932fb..13acb8c98 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 (); }