| 1194 | } |
| 1195 | |
| 1196 | static 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 |
no test coverage detected