[cff2] Use a shrink instead of resize

Such that we can free the allocation.
This commit is contained in:
Behdad Esfahbod committed 2023-01-01 18:41:19 -07:00
1 parent b87360763e
commit b1c4cb0cae
1 file changed
+1 -1
+1 -1
View File
@@ -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;