ref: 79ed536d01a177f9e9462b43b89ca3bbeda4ddc9
parent: 44c59414ebffd6a1a8f7f87c3a07fb083d3b53d7
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Thu May 6 19:46:46 EDT 2021
* src/psaux/psobjs.c (ps_parser_load_field): Tweak allocation macro.
--- 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>
--- 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++ )