[cff2] Use a shrink instead of resize
Such that we can free the allocation.
This commit is contained in:
parent
b87360763e
commit
b1c4cb0cae
|
@ -56,7 +56,7 @@ struct blend_arg_t : number_t
|
||||||
void reset_blends ()
|
void reset_blends ()
|
||||||
{
|
{
|
||||||
numValues = valueIndex = 0;
|
numValues = valueIndex = 0;
|
||||||
deltas.resize (0);
|
deltas.shrink (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int numValues;
|
unsigned int numValues;
|
||||||
|
|
Loading…
Reference in New Issue