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 132ed86ab1
commit 2d5db1bbd1

View File

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