Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
Free memory in clusterLoadConfig error handler
Browse files Browse the repository at this point in the history
Closes redis#1327
  • Loading branch information
hsb0818 authored and mattsta committed Aug 2, 2014
1 parent 5be1dc4 commit 8ded06a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cluster.c
Expand Up @@ -284,6 +284,7 @@ int clusterLoadConfig(char *filename) {
fmterr:
redisLog(REDIS_WARNING,
"Unrecoverable error: corrupted cluster config file.");
zfree(line);
fclose(fp);
exit(1);
}
Expand Down

0 comments on commit 8ded06a

Please sign in to comment.