forked from bartvdbraak/blender
Fix libmv new[]/delete[] mismatch
This commit is contained in:
parent
5181bc46b3
commit
0f68e5c30a
@ -77,7 +77,7 @@ class scoped_array {
|
||||
|
||||
void reset(T* new_array) {
|
||||
if (sizeof(T)) {
|
||||
delete array_;
|
||||
delete[] array_;
|
||||
}
|
||||
array_ = new_array;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user