Skip to content
Snippets Groups Projects
Commit 4e8e5511 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Do not free zone conf on error in load.

parent 9d7eedc9
No related branches found
No related tags found
1 merge request!205TTL mismatch handling
......@@ -143,6 +143,7 @@ zone_t *load_zone_file(conf_zone_t *conf)
/* Check the loader result. */
if (zone_contents == NULL) {
log_zone_error("Failed to load zone file '%s'.\n", conf->file);
zone->conf = NULL;
zone_free(&zone);
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment