Commit 44c59414ebffd6a1a8f7f87c3a07fb083d3b53d7

Alexei Podtelezhnikov 2021-05-06T22:54:03

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

diff --git a/ChangeLog b/ChangeLog
index 17033d0..826770e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
 
 2021-05-06  Alexei Podtelezhnikov  <apodtele@gmail.com>
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index 7dba3a7..4b7cdd2 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'                    */