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
8ff6a48b
Commit
8ff6a48b
authored
Apr 27, 2010
by
antirez
Browse files
Fixed a redis-cli bug, was using free instead of zfree call
parent
8f63ddca
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis-cli.c
View file @
8ff6a48b
...
@@ -568,7 +568,7 @@ static void repl() {
...
@@ -568,7 +568,7 @@ static void repl() {
/* Free the argument vector */
/* Free the argument vector */
for
(
j
=
0
;
j
<
argc
;
j
++
)
for
(
j
=
0
;
j
<
argc
;
j
++
)
sdsfree
(
argv
[
j
]);
sdsfree
(
argv
[
j
]);
free
(
argv
);
z
free
(
argv
);
}
}
/* linenoise() returns malloc-ed lines like readline() */
/* linenoise() returns malloc-ed lines like readline() */
free
(
line
);
free
(
line
);
...
...
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