Commit 998c7c0f1ccabcc4cd995bd6ee8fa398b73b25cd

Alexei Podtelezhnikov 2021-05-06T22:51:37

* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.

diff --git a/ChangeLog b/ChangeLog
index 6d3fc2f..17033d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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>
+
 	* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
 
 2021-05-05  Alexei Podtelezhnikov  <apodtele@gmail.com>
diff --git a/src/cid/cidload.c b/src/cid/cidload.c
index e5a4964..25dcfe6 100644
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -552,7 +552,7 @@
           goto Fail;
         }
 
-        if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
+        if ( FT_QRENEW_ARRAY( offsets, max_offsets, new_max ) )
           goto Fail;
 
         max_offsets = new_max;