forked from minhngoc25a/freetype2
* 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:
parent
81b81feb62
commit
7eb9a9dbbe
|
@ -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…
Reference in New Issue