We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dfe1b8 commit f88a7f2Copy full SHA for f88a7f2
src/ccstruct/fontinfo.cpp
@@ -93,7 +93,7 @@ void FontInfoTable::MoveSpacingInfoFrom(FontInfoTable* other) {
93
push_back(other->get(i));
94
other->get(i).name = nullptr;
95
} else {
96
- delete [] get(target_index).spacing_vec;
+ delete get(target_index).spacing_vec;
97
get(target_index).spacing_vec = other->get(i).spacing_vec;
98
}
99
other->get(i).spacing_vec = nullptr;
0 commit comments