From b803024cafc76a5f23c88b8f248e4d19125d7933 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 31 Dec 2022 12:40:07 -0700 Subject: [PATCH] [cff2] Another exact-size allocation --- src/hb-cff2-interp-cs.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-cff2-interp-cs.hh b/src/hb-cff2-interp-cs.hh index 1f07d999c..64c10550e 100644 --- a/src/hb-cff2-interp-cs.hh +++ b/src/hb-cff2-interp-cs.hh @@ -119,6 +119,7 @@ struct cff2_cs_interp_env_t : cs_interp_env_t region_count = varStore->varStore.get_region_index_count (get_ivs ()); if (do_blend) { + scalars.alloc (region_count, true); if (unlikely (!scalars.resize (region_count))) SUPER::set_error (); else