summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_once.c')
-rw-r--r--mysys/my_once.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/my_once.c b/mysys/my_once.c
index b6f6656fce2..727b8477365 100644
--- a/mysys/my_once.c
+++ b/mysys/my_once.c
@@ -25,7 +25,8 @@
#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 +101,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()