summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-02-03 03:06:42 +0300
committerKonstantin Osipov <kostja@sun.com>2010-02-03 03:06:42 +0300
commit056ac55aa0954b3321aa5e838a5563e731c1c516 (patch)
tree8555c47c0ce18227ce535252d2c2966af26183d3 /mysys/my_once.c
parenta6daa9ada052b7b7b09683ea6d565c92f5e15512 (diff)
parent3701208a2e890d42aabc678a2a5d4ea539941b36 (diff)
downloadmariadb-git-056ac55aa0954b3321aa5e838a5563e731c1c516.tar.gz
Merge next-mr -> next-4284.
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()