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
commit31cd0643ae1b5670d4ebd89eb001f2bcda400d2a (patch)
tree7d900920f4ded837d5f118d032f91e1cfd2c83f0 /mysys/my_once.c
parent825ba2ec8b39ebe78d93bb3f34dd00ea35c3ff2e (diff)
downloadmariadb-git-31cd0643ae1b5670d4ebd89eb001f2bcda400d2a.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()