Fix libmv new[]/delete[] mismatch

This commit is contained in:
Campbell Barton 2021-06-13 15:11:40 +10:00
parent 5181bc46b3
commit 0f68e5c30a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class scoped_array {
void reset(T* new_array) {
if (sizeof(T)) {
delete array_;
delete[] array_;
}
array_ = new_array;
}