summaryrefslogtreecommitdiff
path: root/mysys/my_largepage.c
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-07-05 20:38:50 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-07-05 20:38:50 +0300
commit79c166c56db7b48fac682c87f68a221539e58551 (patch)
tree90dc31e2aa42d566a0adc6a4fce5b46751efd178 /mysys/my_largepage.c
parentab4069909d1f8d0c4740b5bd90e1422ce1978187 (diff)
downloadmariadb-git-79c166c56db7b48fac682c87f68a221539e58551.tar.gz
Fix cmake -DWITH_MSAN=ON
commit ab4069909d1f8d0c4740b5bd90e1422ce1978187 accidentally misplaced #endif directives.
Diffstat (limited to 'mysys/my_largepage.c')
-rw-r--r--mysys/my_largepage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_largepage.c b/mysys/my_largepage.c
index 89c314c6ca8..e107c62b987 100644
--- a/mysys/my_largepage.c
+++ b/mysys/my_largepage.c
@@ -425,8 +425,8 @@ void my_large_free(void *ptr, size_t size)
else
{
MEM_MAKE_ADDRESSABLE(ptr, size);
-# endif
}
+# endif
#elif defined(_WIN32)
/*
When RELEASE memory, the size parameter must be 0.
@@ -441,8 +441,8 @@ void my_large_free(void *ptr, size_t size)
else
{
MEM_MAKE_ADDRESSABLE(ptr, size);
-# endif
}
+# endif
#else
my_free_lock(ptr);
#endif