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

Function redisOpArrayFree

app/redis-6.2.6/src/server.c:3516–3529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3514}
3515
3516void redisOpArrayFree(redisOpArray *oa) {
3517 while(oa->numops) {
3518 int j;
3519 redisOp *op;
3520
3521 oa->numops--;
3522 op = oa->ops+oa->numops;
3523 for (j = 0; j < op->argc; j++)
3524 decrRefCount(op->argv[j]);
3525 zfree(op->argv);
3526 }
3527 zfree(oa->ops);
3528 oa->ops = NULL;
3529}
3530
3531/* ====================== Commands lookup and execution ===================== */
3532

Callers 2

callFunction · 0.85

Calls 2

decrRefCountFunction · 0.85
zfreeFunction · 0.70

Tested by

no test coverage detected