Unverified Commit 4b262182 authored by Tian's avatar Tian Committed by GitHub
Browse files

Remove a redundant free in freeClient (#10721)

parent acd517c8
...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment