MCPcopy Create free account
hub / github.com/F-Stack/f-stack / freeFakeClient

Function freeFakeClient

app/redis-6.2.6/src/aof.c:741–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void freeFakeClient(struct client *c) {
742 sdsfree(c->querybuf);
743 listRelease(c->reply);
744 listRelease(c->watched_keys);
745 freeClientMultiState(c);
746 freeClientOriginalArgv(c);
747 zfree(c);
748}
749
750/* Replay the append log file. On success C_OK is returned. On non fatal
751 * error (the append only file is zero-length) C_ERR is returned. On

Callers 1

loadAppendOnlyFileFunction · 0.85

Calls 5

sdsfreeFunction · 0.85
listReleaseFunction · 0.85
freeClientMultiStateFunction · 0.85
freeClientOriginalArgvFunction · 0.85
zfreeFunction · 0.70

Tested by

no test coverage detected