From 44c59414ebffd6a1a8f7f87c3a07fb083d3b53d7 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Thu, 6 May 2021 22:54:03 -0400 Subject: [PATCH] * src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro. --- ChangeLog | 4 ++++ src/sfnt/sfobjs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 17033d051..826770ec6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-06 Alexei Podtelezhnikov + + * src/sfnt/sfobjs.c (sfnt_load_face): Tweak allocation macro. + 2021-05-06 Alexei Podtelezhnikov * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro. diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 7dba3a719..4b7cdd2aa 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' */