aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/Malloc+NewDelete_intersections.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-04-06 00:41:36 +0000
committerAnna Zaks <ganna@apple.com>2013-04-06 00:41:36 +0000
commit68eb4c25e961d18f82b47a0a385f90d7af09bcc3 (patch)
tree3d5d3f87204a05f0b0dc7ec68cfd23871d203d13 /test/Analysis/Malloc+NewDelete_intersections.cpp
parentcb3443925f967b5d51e582b39e28f67d41d73199 (diff)
[analyzer] Shorten the malloc checker’s leak message
As per Ted’s suggestion! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/Malloc+NewDelete_intersections.cpp')
-rw-r--r--test/Analysis/Malloc+NewDelete_intersections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/Malloc+NewDelete_intersections.cpp b/test/Analysis/Malloc+NewDelete_intersections.cpp
index 5ce9e3c535..310663646a 100644
--- a/test/Analysis/Malloc+NewDelete_intersections.cpp
+++ b/test/Analysis/Malloc+NewDelete_intersections.cpp
@@ -12,4 +12,4 @@ void free(void *);
void testMismatchedDeallocator() {
int *p = (int *)malloc(sizeof(int));
delete p;
-} // expected-warning{{Memory is never released; potential leak of memory pointed to by 'p'}}
+} // expected-warning{{Potential leak of memory pointed to by 'p'}}