forked from OSchip/llvm-project
[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:
parent
3b578ae908
commit
b99cf5f25a
compiler-rt/test/asan/TestCases
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue