From 998c7c0f1ccabcc4cd995bd6ee8fa398b73b25cd Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Thu, 6 May 2021 22:51:37 -0400 Subject: [PATCH] * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro. --- ChangeLog | 4 ++++ src/cid/cidload.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6d3fc2ffa..17033d051 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-06 Alexei Podtelezhnikov + + * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro. + 2021-05-06 Alexei Podtelezhnikov * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation. diff --git a/src/cid/cidload.c b/src/cid/cidload.c index e5a49641a..25dcfe686 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;