From 42a80f00d51317207c49611b76d6bba06230371b Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Wed, 14 Feb 2018 15:04:35 -0800 Subject: [PATCH] [subset] add free --- src/hb-ot-hmtx-table.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index 7fae4f6cd..e69f9ea40 100644 --- a/src/hb-ot-hmtx-table.hh +++ b/src/hb-ot-hmtx-table.hh @@ -79,6 +79,7 @@ struct hmtxvmtx hb_blob_t *src_blob = OT::Sanitizer().sanitize (plan->source->reference_table (T::tableTag)); if (unlikely(!src_blob)) { + free(dest); return false; } unsigned int src_length;