aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/analyzer/checkers
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/analyzer/checkers')
-rw-r--r--clang/docs/analyzer/checkers/unix_malloc_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/analyzer/checkers/unix_malloc_example.c b/clang/docs/analyzer/checkers/unix_malloc_example.c
index 68c5a4a..30df074 100644
--- a/clang/docs/analyzer/checkers/unix_malloc_example.c
+++ b/clang/docs/analyzer/checkers/unix_malloc_example.c
@@ -2,7 +2,7 @@
void test() {
int *p = malloc(1);
free(p);
- free(p); // warn: attempt to free released memory
+ free(p); // warn: attempt to release already released memory
}
void test() {