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
f07205e4
Unverified
Commit
f07205e4
authored
Dec 19, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Dec 19, 2018
Browse files
Merge pull request #5709 from artix75/cluster_manager_fix_cmd
Fixed memory leak in clusterManagerCompareKeysValues.
parents
0d166674
cc295901
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
f07205e4
...
...
@@ -2993,6 +2993,8 @@ static int clusterManagerCompareKeysValues(clusterManagerNode *n1,
cleanup:
if
(
r1
)
freeReplyObject
(
r1
);
if
(
r2
)
freeReplyObject
(
r2
);
zfree
(
argv
);
zfree
(
argv_len
);
return
success
;
}
...
...
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