* 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;