mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-19 21:49:32 +03:00
Fix new[] / delete mismatch.
This commit is contained in:
parent
2cbf68b5e7
commit
9c053ecf90
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ static void various_tests() {
|
|||
auto tbuf = new unsigned char[sizeof(Test)];
|
||||
t = new (tbuf) Test(42);
|
||||
t->~Test();
|
||||
delete tbuf;
|
||||
delete[] tbuf;
|
||||
}
|
||||
|
||||
class Static {
|
||||
|
|
Loading…
Add table
Reference in a new issue