Commit 879e18b7 authored by Matt Stancliff's avatar Matt Stancliff Committed by antirez
Browse files

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.
parent 82bac1b7
......@@ -164,6 +164,7 @@ int clusterLoadConfig(char *filename) {
argv[j]);
}
}
sdsfreesplitres(argv,argc);
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment