[subset] Another exact-allocation

This commit is contained in:
Behdad Esfahbod 2022-12-31 13:26:00 -07:00
parent 0ec0214f10
commit 2c64048bc4
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ _try_subset (const TableType *table,
HB_UNTAG (c->table_tag), buf_size);
if (unlikely (buf_size > c->source_blob->length * 16 ||
!buf->alloc (buf_size)))
!buf->alloc (buf_size, true)))
{
DEBUG_MSG (SUBSET, nullptr, "OT::%c%c%c%c failed to reallocate %u bytes.",
HB_UNTAG (c->table_tag), buf_size);