ref: 44c59414ebffd6a1a8f7f87c3a07fb083d3b53d7
parent: 998c7c0f1ccabcc4cd995bd6ee8fa398b73b25cd
author: Alexei Podtelezhnikov <[email protected]>
date: Thu May 6 18:54:03 EDT 2021
* src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2021-05-06 Alexei Podtelezhnikov <[email protected]>
+ * src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro.
+
+2021-05-06 Alexei Podtelezhnikov <[email protected]>
+
* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
2021-05-06 Alexei Podtelezhnikov <[email protected]>
--- 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' */