Commit a78c33a8 authored by Jan Včelák's avatar Jan Včelák 🚀
Browse files

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

parent e97b94e0
......@@ -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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment