Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
987127c6
Commit
987127c6
authored
Oct 15, 2013
by
SungBin_Hong
Committed by
antirez
Aug 26, 2014
Browse files
Free memory in clusterLoadConfig error handler
Closes #1327
parent
194b0525
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
987127c6
...
...
@@ -284,6 +284,7 @@ int clusterLoadConfig(char *filename) {
fmterr:
redisLog
(
REDIS_WARNING
,
"Unrecoverable error: corrupted cluster config file."
);
zfree
(
line
);
fclose
(
fp
);
exit
(
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment