From 7eb9a9dbbee9c8513402c388772152b053f25289 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 14 Jan 2022 14:40:11 -0500 Subject: [PATCH] * src/pshinter/pshglob.c (psh_globals_new): Avoid zeroing. This large allocation is followed by careful initialization. Whatever is missed should be initialized manually. --- src/pshinter/pshglob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c index ae2e1fbad..3eaf9b354 100644 --- a/src/pshinter/pshglob.c +++ b/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;