[cff] Another no-memset in INDEX

This commit is contained in:
Behdad Esfahbod 2022-12-01 15:46:00 -07:00
parent 5fd2f255fc
commit b3ad4d72cc
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ struct CFFIndex
if (!this->count) return_trace (true);
if (unlikely (!c->extend (this->offSize))) return_trace (false);
this->offSize = off_size;
if (unlikely (!c->allocate_size<HBUINT8> (off_size * (this->count + 1))))
if (unlikely (!c->allocate_size<HBUINT8> (off_size * (this->count + 1), false)))
return_trace (false);
/* serialize indices */