mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
[serialize] Adjust pop_discard for zerocopy
This commit is contained in:
1 parent
043eeb29a3
commit
3ade2ffaa5
1 file changed
+2
-1
+2
-1
@@ -326,7 +326,8 @@ struct hb_serialize_context_t
|
||||
if (unlikely (in_error() && !only_overflow ())) return;
|
||||
|
||||
current = current->next;
|
||||
revert (obj->head, obj->tail);
|
||||
revert (zerocopy ? zerocopy : obj->head, obj->tail);
|
||||
zerocopy = nullptr;
|
||||
obj->fini ();
|
||||
object_pool.release (obj);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user