memory leak fix in serializer (#1988)

This commit is contained in:
Qunxin Liu 2019-09-23 17:28:16 -07:00 committed by Behdad Esfahbod
parent f0a7677993
commit 512551f276
1 changed files with 1 additions and 0 deletions

View File

@ -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 ()