[cff2] Use a shrink instead of resize

Such that we can free the allocation.
pull/3501/head
Behdad Esfahbod 2 years ago
parent b87360763e
commit b1c4cb0cae
  1. 2
      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;

Loading…
Cancel
Save