From 512551f27600adac875de3381533b52d78f6b22d Mon Sep 17 00:00:00 2001 From: Qunxin Liu <48925186+qxliu76@users.noreply.github.com> Date: Mon, 23 Sep 2019 17:28:16 -0700 Subject: [PATCH] memory leak fix in serializer (#1988) --- src/hb-serialize.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 5764a90f6..c4bd1e584 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -194,6 +194,7 @@ struct hb_serialize_context_t if (unlikely (!obj)) return; current = current->next; revert (*obj); + obj->fini (); object_pool.free (obj); } objidx_t pop_pack ()