MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / freeFakeClientArgv

Function freeFakeClientArgv

src/aof.cpp:817–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815}
816
817void freeFakeClientArgv(struct client *c) {
818 int j;
819
820 for (j = 0; j < c->argc; j++)
821 decrRefCount(c->argv[j]);
822 zfree(c->argv);
823 c->argv_len_sumActive = 0;
824}
825
826void freeFakeClient(struct client *c) {
827 sdsfree(c->querybuf);

Callers 1

loadAppendOnlyFileFunction · 0.85

Calls 2

decrRefCountFunction · 0.85
zfreeFunction · 0.85

Tested by

no test coverage detected