Free the configuration rewrite state. */
| 1564 | |
| 1565 | /* Free the configuration rewrite state. */ |
| 1566 | void rewriteConfigReleaseState(struct rewriteConfigState *state) { |
| 1567 | sdsfreesplitres(state->lines,state->numlines); |
| 1568 | dictRelease(state->option_to_line); |
| 1569 | dictRelease(state->rewritten); |
| 1570 | zfree(state); |
| 1571 | } |
| 1572 | |
| 1573 | /* At the end of the rewrite process the state contains the remaining |
| 1574 | * map between "option name" => "lines in the original config file". |
no test coverage detected