Skip to content
Snippets Groups Projects
Commit 995be109 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'tests-clang-analyzer'


ae2c24b0 Tests: Fix warning clang-analyzer-cplusplus.NewDeleteLeaks

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6010
parents 0c5ac41d ae2c24b0
No related merge requests found
#define assert(E) \
if (!(E)) \
return 1;
......@@ -38,6 +37,7 @@ int someFunc()
}
int* vp = new int[i];
delete[] vp;
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment