diff options
author | Brad King <brad.king@kitware.com> | 2021-04-19 13:45:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-04-19 13:45:40 (GMT) |
commit | 995be1097c35fd3187d147494156bbfb9da7037f (patch) | |
tree | 9954b1869aa7b66bbacaa0a21ee37b4acaeb24d4 /Tests | |
parent | 0c5ac41dbb6f6fa3bdcc14078cb620390bbd5098 (diff) | |
parent | ae2c24b0bafd341928fd6e95acc60ece2c45aa0e (diff) | |
download | CMake-995be1097c35fd3187d147494156bbfb9da7037f.zip CMake-995be1097c35fd3187d147494156bbfb9da7037f.tar.gz CMake-995be1097c35fd3187d147494156bbfb9da7037f.tar.bz2 |
Merge topic 'tests-clang-analyzer'
ae2c24b0ba Tests: Fix warning clang-analyzer-cplusplus.NewDeleteLeaks
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6010
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CompileFeatures/cxx_contextual_conversions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_contextual_conversions.cpp b/Tests/CompileFeatures/cxx_contextual_conversions.cpp index 247f13f..fe8d5c0 100644 --- a/Tests/CompileFeatures/cxx_contextual_conversions.cpp +++ b/Tests/CompileFeatures/cxx_contextual_conversions.cpp @@ -1,4 +1,3 @@ - #define assert(E) \ if (!(E)) \ return 1; @@ -38,6 +37,7 @@ int someFunc() } int* vp = new int[i]; + delete[] vp; return 0; } |