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
dec58464
Commit
dec58464
authored
Oct 15, 2013
by
SungBin_Hong
Committed by
antirez
Aug 08, 2014
Browse files
Free memory in clusterLoadConfig error handler
Closes #1327
parent
af62d9a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
dec58464
...
...
@@ -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