aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/getline-alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/getline-alloc.c')
-rw-r--r--clang/test/Analysis/getline-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/getline-alloc.c b/clang/test/Analysis/getline-alloc.c
index 74a40a1..43d0a2d 100644
--- a/clang/test/Analysis/getline-alloc.c
+++ b/clang/test/Analysis/getline-alloc.c
@@ -29,7 +29,7 @@ void test_getline_malloc_buffer() {
ssize_t r = getdelim(&buffer, &n, '\r', F1);
// ptr may be dangling
- free(ptr); // expected-warning {{Attempt to free released memory}}
+ free(ptr); // expected-warning {{Attempt to release already released memory}}
free(buffer); // ok
fclose(F1);
}