projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge working tree with build tree.
[m6w6/libmemcached]
/
clients
/
generator.cc
diff --git
a/clients/generator.cc
b/clients/generator.cc
index 011ed3a499bb778ed5963d3695d4cb48088967b3..c62f9a32214cb8af49086781f2cfab0e759a8553 100644
(file)
--- a/
clients/generator.cc
+++ b/
clients/generator.cc
@@
-44,7
+44,9
@@
static void get_random_string(char *buffer, size_t size)
void pairs_free(pairs_st *pairs)
{
if (pairs == NULL)
void pairs_free(pairs_st *pairs)
{
if (pairs == NULL)
+ {
return;
return;
+ }
/* We free until we hit the null pair we stores during creation */
for (uint32_t x= 0; pairs[x].key; x++)
/* We free until we hit the null pair we stores during creation */
for (uint32_t x= 0; pairs[x].key; x++)