summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/asan/lit_tests/TestCases/free_hook_realloc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/TestCases/free_hook_realloc.cc b/compiler-rt/lib/asan/lit_tests/TestCases/free_hook_realloc.cc
index 92f5acd6dc8..7a71964b003 100644
--- a/compiler-rt/lib/asan/lit_tests/TestCases/free_hook_realloc.cc
+++ b/compiler-rt/lib/asan/lit_tests/TestCases/free_hook_realloc.cc
@@ -25,6 +25,7 @@ int main() {
_exit(1);
}
write(1, "Passed\n", sizeof("Passed\n"));
+ free(y);
// CHECK: FreeHook
// CHECK: Passed
return 0;
OpenPOWER on IntegriCloud