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

Function freeClientArgv

app/redis-6.2.6/src/networking.c:1196–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196static void freeClientArgv(client *c) {
1197 int j;
1198 for (j = 0; j < c->argc; j++)
1199 decrRefCount(c->argv[j]);
1200 c->argc = 0;
1201 c->cmd = NULL;
1202 c->argv_len_sum = 0;
1203}
1204
1205/* Close all the slaves connections. This is useful in chained replication
1206 * when we resync with our own master and want to force all our slaves to

Callers 3

freeClientFunction · 0.85
resetClientFunction · 0.85

Calls 1

decrRefCountFunction · 0.85

Tested by

no test coverage detected