Commit 79ed536d01a177f9e9462b43b89ca3bbeda4ddc9

Alexei Podtelezhnikov 2021-05-06T23:46:46

* src/psaux/psobjs.c (ps_parser_load_field): Tweak allocation macro.

diff --git a/ChangeLog b/ChangeLog
index 826770e..758ea3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
+	* src/psaux/psobjs.c (ps_parser_load_field): Tweak allocation macro.
+
+2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
 	* src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.
 
 2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c
index e0f61a4..30f5019 100644
--- a/src/psaux/psobjs.c
+++ b/src/psaux/psobjs.c
@@ -1248,7 +1248,7 @@
           FT_UInt    i;
 
 
-          if ( FT_NEW_ARRAY( temp, max_objects * 4 ) )
+          if ( FT_QNEW_ARRAY( temp, max_objects * 4 ) )
             goto Exit;
 
           for ( i = 0; i < 4; i++ )