initial cluster config load code

This commit is contained in:
antirez
2011-04-07 12:55:02 +02:00
parent 0b7f6d0913
commit 726a39c15f
3 changed files with 39 additions and 4 deletions

View File

@ -554,6 +554,13 @@ err:
return NULL;
}
void sdssplitargs_free(sds *argv, int argc) {
int j;
for (j = 0 ;j < argc; j++) sdsfree(argv[j]);
zfree(argv);
}
#ifdef SDS_TEST_MAIN
#include <stdio.h>
#include "testhelp.h"