[compiler-rt] 6f122d9 - [NFC][memprof] FIx delete[] usage in test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 23:17:40 PDT 2021
Author: Vitaly Buka
Date: 2021-06-04T23:17:23-07:00
New Revision: 6f122d96f728c36b3f13af441f7bd31a7232b31a
URL: https://github.com/llvm/llvm-project/commit/6f122d96f728c36b3f13af441f7bd31a7232b31a
DIFF: https://github.com/llvm/llvm-project/commit/6f122d96f728c36b3f13af441f7bd31a7232b31a.diff
LOG: [NFC][memprof] FIx delete[] usage in test
Added:
Modified:
compiler-rt/test/memprof/TestCases/test_memintrin.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/memprof/TestCases/test_memintrin.cpp b/compiler-rt/test/memprof/TestCases/test_memintrin.cpp
index 005bc8725146..06c61db6d26e 100644
--- a/compiler-rt/test/memprof/TestCases/test_memintrin.cpp
+++ b/compiler-rt/test/memprof/TestCases/test_memintrin.cpp
@@ -41,8 +41,8 @@ int main() {
memcpy(q, p, 5);
int x = memcmp(p, q, 5);
- delete p;
- delete q;
+ delete[] p;
+ delete[] q;
return x;
}
More information about the llvm-commits
mailing list