| 739 | } |
| 740 | |
| 741 | void freeFakeClient(struct client *c) { |
| 742 | sdsfree(c->querybuf); |
| 743 | listRelease(c->reply); |
| 744 | listRelease(c->watched_keys); |
| 745 | freeClientMultiState(c); |
| 746 | freeClientOriginalArgv(c); |
| 747 | zfree(c); |
| 748 | } |
| 749 | |
| 750 | /* Replay the append log file. On success C_OK is returned. On non fatal |
| 751 | * error (the append only file is zero-length) C_ERR is returned. On |
no test coverage detected