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

This commit is contained in:
Alexei Podtelezhnikov 2021-05-06 23:46:46 -04:00
parent 44c59414eb
commit 79ed536d01
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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++ )