From b1c4cb0caeae6c750c0cfd42fabb7fcb79ea30fd Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 1 Jan 2023 18:41:19 -0700 Subject: [PATCH] [cff2] Use a shrink instead of resize Such that we can free the allocation. --- src/hb-cff2-interp-cs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff2-interp-cs.hh b/src/hb-cff2-interp-cs.hh index 64c10550e..346d4c1a7 100644 --- a/src/hb-cff2-interp-cs.hh +++ b/src/hb-cff2-interp-cs.hh @@ -56,7 +56,7 @@ struct blend_arg_t : number_t void reset_blends () { numValues = valueIndex = 0; - deltas.resize (0); + deltas.shrink (0); } unsigned int numValues;