From ebd31d376d63c9698c0eae34ed295558f7230918 Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Mon, 12 Feb 2018 10:10:08 -0800 Subject: [PATCH] subset for real --- src/hb-subset.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 946006173..7b6b932fb 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -365,7 +365,5 @@ hb_subset (hb_face_t *source, } } while (count == ARRAY_LENGTH (table_tags)); - // TODO(grieger): Remove once basic subsetting is working + tests updated. - hb_face_destroy (dest); - return success ? hb_face_reference (source) : hb_face_get_empty (); + return success ? dest : hb_face_get_empty (); }