diff --git a/ChangeLog b/ChangeLog index 826770ec6..758ea3b50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-06 Alexei Podtelezhnikov + + * src/psaux/psobjs.c (ps_parser_load_field): Tweak allocation macro. + 2021-05-06 Alexei Podtelezhnikov * src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro. diff --git a/src/psaux/psobjs.c b/src/psaux/psobjs.c index e0f61a42e..30f501916 100644 --- 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++ )