[cff] Another no-memset in INDEX

This commit is contained in:
Behdad Esfahbod committed 2022-12-01 15:46:00 -07:00
1 parent 5fd2f255fc
commit b3ad4d72cc
1 file changed
+1 -1
+1 -1
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 */