mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[cff2] Use a shrink instead of resize
Such that we can free the allocation.
This commit is contained in:
1 parent
b87360763e
commit
b1c4cb0cae
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user