Skip to content
Snippets Groups Projects
Commit a78c33a8 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

review: mem_trim() after XFR when old zone is discarded

parent e97b94e0
No related branches found
No related tags found
1 merge request!297expire zone when XFR is failing
......@@ -377,7 +377,7 @@ int event_xfer(zone_t *zone)
zone->flags &= ~ZONE_FORCE_AXFR;
/* Trim extra heap. */
if (pkt_type == KNOT_QUERY_AXFR) {
if (!is_boostrap) {
mem_trim();
}
......
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