memory leak fix in serializer (#1988)
This commit is contained in:
parent
f0a7677993
commit
512551f276
@ -194,6 +194,7 @@ struct hb_serialize_context_t
|
|||||||
if (unlikely (!obj)) return;
|
if (unlikely (!obj)) return;
|
||||||
current = current->next;
|
current = current->next;
|
||||||
revert (*obj);
|
revert (*obj);
|
||||||
|
obj->fini ();
|
||||||
object_pool.free (obj);
|
object_pool.free (obj);
|
||||||
}
|
}
|
||||||
objidx_t pop_pack ()
|
objidx_t pop_pack ()
|
||||||
|
Loading…
Reference in New Issue
Block a user