diff --git a/ChangeLog b/ChangeLog index e93e4c34e..ef22e6a4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-04-26 Alexei Podtelezhnikov + + * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. + 2021-04-26 Alexei Podtelezhnikov [psaux,psnames] Avoid some memory zeroing. diff --git a/src/winfonts/winfnt.c b/src/winfonts/winfnt.c index 1d52bb600..d590c0a22 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;