Skip to content
Snippets Groups Projects
Commit 6eb640f1 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Free trie on failed transfer.

parent 00675058
No related branches found
No related tags found
No related merge requests found
......@@ -1492,6 +1492,8 @@ static int xfr_process_request(xfrworker_t *w, uint8_t *buf, size_t buflen)
log_server_error("%s %s\n",
xfr.msgpref, knot_strerror(ret));
}
hattrie_free(xfr.lookup_tree);
xfr.lookup_tree = NULL;
knot_zone_release(xfr.zone); /* No further access to zone. */
}
......
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