summaryrefslogtreecommitdiff
path: root/storage/innobase/os
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/os')
-rw-r--r--storage/innobase/os/os0proc.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/storage/innobase/os/os0proc.cc b/storage/innobase/os/os0proc.cc
index 1a6da03a402..0c8f8795be8 100644
--- a/storage/innobase/os/os0proc.cc
+++ b/storage/innobase/os/os0proc.cc
@@ -165,7 +165,6 @@ os_mem_free_large(
if (os_use_large_pages && os_large_page_size && !shmdt(ptr)) {
my_atomic_addlint(
&os_total_large_mem_allocated, -size);
- UNIV_MEM_FREE(ptr, size);
return;
}
#endif /* HAVE_LINUX_LARGE_PAGES && UNIV_LINUX */
@@ -178,7 +177,6 @@ os_mem_free_large(
} else {
my_atomic_addlint(
&os_total_large_mem_allocated, -lint(size));
- UNIV_MEM_FREE(ptr, size);
}
#elif !defined OS_MAP_ANON
ut_free(ptr);
@@ -193,7 +191,6 @@ os_mem_free_large(
} else {
my_atomic_addlint(
&os_total_large_mem_allocated, -size);
- UNIV_MEM_FREE(ptr, size);
}
#endif
}