| 3514 | } |
| 3515 | |
| 3516 | void 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 |
no test coverage detected