[ASan][test] Fix mismatched-new-delete in asan test unaligned_loads_and_stores.cpp

Fix mismatched-new-delete in asan test unaligned_loads_and_stores.cpp

Reviewed By: vitalybuka, MaskRay

Differential Revision: https://reviews.llvm.org/D124268
This commit is contained in:
Enna1 2022-04-23 11:57:23 +08:00
parent 3b578ae908
commit b99cf5f25a
1 changed files with 1 additions and 1 deletions
compiler-rt/test/asan/TestCases

View File

@ -47,6 +47,6 @@ int main(int argc, char **argv) {
case 'O': __sanitizer_unaligned_store64(x + 14, 0); break;
// CHECK-O: main{{.*}}unaligned_loads_and_stores.cpp:[[@LINE-1]]
}
delete x;
delete[] x;
return res;
}