aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc')
-rw-r--r--test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc b/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
index 2c643bc03c52..b9b96ef0504e 100644
--- a/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
+++ b/test/asan/TestCases/Darwin/malloc_set_zone_name-mprotect.cc
@@ -47,5 +47,6 @@ int main() {
memset(mem[i], 'a', 8 * (i % kNumIter));
free(mem[i]);
}
+ malloc_destroy_zone(zone);
return 0;
}