aboutsummaryrefslogtreecommitdiff
path: root/dep/mysqllite/mysys/my_once.c
diff options
context:
space:
mode:
Diffstat (limited to 'dep/mysqllite/mysys/my_once.c')
-rw-r--r--dep/mysqllite/mysys/my_once.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/dep/mysqllite/mysys/my_once.c b/dep/mysqllite/mysys/my_once.c
index b6f6656fce2..32d07802028 100644
--- a/dep/mysqllite/mysys/my_once.c
+++ b/dep/mysqllite/mysys/my_once.c
@@ -15,17 +15,14 @@
/* Not MT-SAFE */
-#ifdef SAFEMALLOC /* We don't need SAFEMALLOC here */
-#undef SAFEMALLOC
-#endif
-
#include "mysys_priv.h"
#include "my_static.h"
#include "mysys_err.h"
#include <m_string.h>
/*
- Alloc for things we don't nead to free
+ Alloc for things we don't nend to free run-time (that only
+ should be free'd on exit)
SYNOPSIS
my_once_alloc()
@@ -100,7 +97,7 @@ void *my_once_memdup(const void *src, size_t len, myf myflags)
/*
- Deallocate everything used by my_once_alloc
+ Deallocate everything that was allocated with my_once_alloc
SYNOPSIS
my_once_free()