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
33753a73
Commit
33753a73
authored
Mar 06, 2011
by
Pieter Noordhuis
Browse files
Minor memory leak in redis-cli (issue #464)
parent
ca36b4ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
33753a73
...
@@ -488,9 +488,13 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
...
@@ -488,9 +488,13 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
}
}
}
}
if
(
cliReadReply
(
output_raw
)
!=
REDIS_OK
)
if
(
cliReadReply
(
output_raw
)
!=
REDIS_OK
)
{
free
(
argvlen
);
return
REDIS_ERR
;
return
REDIS_ERR
;
}
}
}
free
(
argvlen
);
return
REDIS_OK
;
return
REDIS_OK
;
}
}
...
...
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