* 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
unsigned-revisions
Alexei Podtelezhnikov 3 years ago
parent 073ff2d77e
commit 59b43ae663
  1. 2
      src/base/ftobjs.c

@ -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;

Loading…
Cancel
Save