Remove a redundant free in freeClient (#10721)

This commit is contained in:
Tian 2022-05-15 10:38:26 +08:00 committed by GitHub
parent acd517c883
commit 4b262182d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -3557,7 +3557,6 @@ void replaceClientCommandVector(client *c, int argc, robj **argv) {
int j;
retainOriginalCommandVector(c);
freeClientArgv(c);
zfree(c->argv);
c->argv = argv;
c->argc = argc;
c->argv_len_sum = 0;