Commit b0a281974dfe53c46a9028e6e0c6dc90466f0bc8

Alexei Podtelezhnikov 2021-04-26T17:10:28

* src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro.

diff --git a/ChangeLog b/ChangeLog
index e93e4c3..ef22e6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-04-26  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
+	* src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro.
+
+2021-04-26  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
 	[psaux,psnames] Avoid some memory zeroing.
 
 	* src/psaux/psstack.c (cf2_stack_init): Tweak memory macro.
diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c
index 1d52bb6..d590c0a 100644
--- a/src/winfonts/winfnt.c
+++ b/src/winfonts/winfnt.c
@@ -793,7 +793,7 @@
         root->style_flags |= FT_STYLE_FLAG_BOLD;
 
       /* set up the `fixed_sizes' array */
-      if ( FT_NEW_ARRAY( root->available_sizes, 1 ) )
+      if ( FT_QNEW( root->available_sizes ) )
         goto Fail;
 
       root->num_fixed_sizes = 1;