Fix memory leak in cluster config parsing

The continue stop us from triggering the
free after the long line for loop, so add it
earlier.
This commit is contained in:
Matt Stancliff 2014-08-01 21:48:12 -04:00 committed by antirez
parent 82bac1b729
commit 879e18b7ec

View File

@ -164,6 +164,7 @@ int clusterLoadConfig(char *filename) {
argv[j]);
}
}
sdsfreesplitres(argv,argc);
continue;
}