X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fgenerator.cc;h=c62f9a32214cb8af49086781f2cfab0e759a8553;hb=a713b6d9ee850ae5805c05e8336256cea1f71138;hp=011ed3a499bb778ed5963d3695d4cb48088967b3;hpb=956d15b5b1f3f3518eb374a3a9e0393e9dacd3b6;p=m6w6%2Flibmemcached diff --git a/clients/generator.cc b/clients/generator.cc index 011ed3a4..c62f9a32 100644 --- 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) + { return; + } /* We free until we hit the null pair we stores during creation */ for (uint32_t x= 0; pairs[x].key; x++)