* src/pshinter/pshglob.c (psh_globals_new): Avoid zeroing.

This large allocation is followed by careful initialization. Whatever
is missed should be initialized manually.
fix-sdf-squared-distances
Alexei Podtelezhnikov 3 years ago
parent 81b81feb62
commit 7eb9a9dbbe
  1. 4
      src/pshinter/pshglob.c

@ -646,11 +646,11 @@
T1_Private* priv,
PSH_Globals *aglobals )
{
PSH_Globals globals = NULL;
PSH_Globals globals;
FT_Error error;
if ( !FT_NEW( globals ) )
if ( !FT_QNEW( globals ) )
{
FT_UInt count;
FT_Short* read;

Loading…
Cancel
Save