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
cc295901
Commit
cc295901
authored
Dec 18, 2018
by
artix
Browse files
Fixed memory leak in clusterManagerCompareKeysValues.
parent
0d166674
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
cc295901
...
@@ -2993,6 +2993,8 @@ static int clusterManagerCompareKeysValues(clusterManagerNode *n1,
...
@@ -2993,6 +2993,8 @@ static int clusterManagerCompareKeysValues(clusterManagerNode *n1,
cleanup:
cleanup:
if
(
r1
)
freeReplyObject
(
r1
);
if
(
r1
)
freeReplyObject
(
r1
);
if
(
r2
)
freeReplyObject
(
r2
);
if
(
r2
)
freeReplyObject
(
r2
);
zfree
(
argv
);
zfree
(
argv_len
);
return
success
;
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