diff options
author | antirez <antirez@gmail.com> | 2011-04-07 12:55:02 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-04-07 12:55:02 +0200 |
commit | 726a39c15ff5d89f0d44a32cca8869cf0589f929 (patch) | |
tree | 9d03dc62a677fe80a0fc0818d3b921e3876f11f5 /src/sds.c | |
parent | 0b7f6d0913f96f2fe8280afc681c6e0a65ca81c9 (diff) | |
download | redis-726a39c15ff5d89f0d44a32cca8869cf0589f929.tar.gz |
initial cluster config load code
Diffstat (limited to 'src/sds.c')
-rw-r--r-- | src/sds.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |