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

This large allocation is followed by careful initialization. Whatever
is missed should be initialized manually.
This commit is contained in:
Alexei Podtelezhnikov 2022-01-14 14:40:11 -05:00
parent 81b81feb62
commit 7eb9a9dbbe
1 changed files with 2 additions and 2 deletions

View File

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