mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 10:11:21 +00:00
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:
@ -164,6 +164,7 @@ int clusterLoadConfig(char *filename) {
|
|||||||
argv[j]);
|
argv[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sdsfreesplitres(argv,argc);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user