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
4b262182
Unverified
Commit
4b262182
authored
May 15, 2022
by
Tian
Committed by
GitHub
May 14, 2022
Browse files
Remove a redundant free in freeClient (#10721)
parent
acd517c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
4b262182
...
@@ -3557,7 +3557,6 @@ void replaceClientCommandVector(client *c, int argc, robj **argv) {
...
@@ -3557,7 +3557,6 @@ void replaceClientCommandVector(client *c, int argc, robj **argv) {
int
j
;
int
j
;
retainOriginalCommandVector
(
c
);
retainOriginalCommandVector
(
c
);
freeClientArgv
(
c
);
freeClientArgv
(
c
);
zfree
(
c
->
argv
);
c
->
argv
=
argv
;
c
->
argv
=
argv
;
c
->
argc
=
argc
;
c
->
argc
=
argc
;
c
->
argv_len_sum
=
0
;
c
->
argv_len_sum
=
0
;
...
...
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