diff --git a/ChangeLog b/ChangeLog index 17033d051..826770ec6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-06 Alexei Podtelezhnikov + + * src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro. + 2021-05-06 Alexei Podtelezhnikov * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro. diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 7dba3a719..4b7cdd2aa 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -1237,7 +1237,7 @@ } /* reduce array size to the actually used elements */ - (void)FT_RENEW_ARRAY( sbit_strike_map, count, bsize_idx ); + (void)FT_QRENEW_ARRAY( sbit_strike_map, count, bsize_idx ); /* from now on, all strike indices are mapped */ /* using `sbit_strike_map' */