* src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.

This commit is contained in:
Alexei Podtelezhnikov 2021-05-06 22:54:03 -04:00
parent 998c7c0f1c
commit 44c59414eb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.

View File

@ -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' */