| 4303 | } |
| 4304 | |
| 4305 | void redisOpArrayFree(redisOpArray *oa) { |
| 4306 | while(oa->numops) { |
| 4307 | int j; |
| 4308 | redisOp *op; |
| 4309 | |
| 4310 | oa->numops--; |
| 4311 | op = oa->ops+oa->numops; |
| 4312 | for (j = 0; j < op->argc; j++) |
| 4313 | decrRefCount(op->argv[j]); |
| 4314 | zfree(op->argv); |
| 4315 | } |
| 4316 | zfree(oa->ops); |
| 4317 | oa->ops = NULL; |
| 4318 | } |
| 4319 | |
| 4320 | /* ====================== Commands lookup and execution ===================== */ |
| 4321 |
no test coverage detected