mirror of https://mirror.osredm.com/root/redis.git
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:
parent
82bac1b729
commit
879e18b7ec
|
@ -164,6 +164,7 @@ int clusterLoadConfig(char *filename) {
|
||||||
argv[j]);
|
argv[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sdsfreesplitres(argv,argc);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue