* src/base/ftobjs.c (FT_CMap_New): Revert to zeroing.

Fixes fallout from c1fa7aa2bc, reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38641
This commit is contained in:
Alexei Podtelezhnikov 2021-09-13 16:16:18 -04:00
parent 073ff2d77e
commit 59b43ae663
1 changed files with 1 additions and 1 deletions

View File

@ -3753,7 +3753,7 @@
face = charmap->face;
memory = FT_FACE_MEMORY( face );
if ( !FT_QALLOC( cmap, clazz->size ) )
if ( !FT_ALLOC( cmap, clazz->size ) )
{
cmap->charmap = *charmap;
cmap->clazz = clazz;