ref: b0a281974dfe53c46a9028e6e0c6dc90466f0bc8
parent: deee5b7017a8304da27f087ba29a8fd50f3ea446
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Mon Apr 26 13:10:28 EDT 2021
* src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro.
--- 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.
--- 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;