aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/Malloc+NewDelete_intersections.cpp
diff options
context:
space:
mode:
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'}}