summaryrefslogtreecommitdiff
path: root/mysys/my_once.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2009-12-26 21:55:32 +0100
committerSergei Golubchik <serg@mysql.com>2009-12-26 21:55:32 +0100
commite7441f0b602735e2c40b0e0e7cfb01a2443aaa5a (patch)
tree7d900920f4ded837d5f118d032f91e1cfd2c83f0 /mysys/my_once.c
parent9c22d1ecfaaf34b1d2b1d02a3017e5e71733d5be (diff)
downloadmariadb-git-e7441f0b602735e2c40b0e0e7cfb01a2443aaa5a.tar.gz
my_once.c: clarify the comment
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()