Unverified Commit a0576bde authored by Madelyn Olson's avatar Madelyn Olson Committed by GitHub
Browse files

Initialize original client argv for aof (#8042)



(this is a fixup for #8006)
Co-authored-by: default avatarMadelyn Olson <madelyneolson@gmail.com>
parent 48a9d63a
......@@ -669,6 +669,8 @@ struct client *createAOFClient(void) {
c->querybuf_peak = 0;
c->argc = 0;
c->argv = NULL;
c->original_argc = 0;
c->original_argv = NULL;
c->argv_len_sum = 0;
c->bufpos = 0;
c->flags = 0;
......@@ -704,6 +706,7 @@ void freeFakeClient(struct client *c) {
listRelease(c->reply);
listRelease(c->watched_keys);
freeClientMultiState(c);
freeClientOriginalArgv(c);
zfree(c);
}
......
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