Skip to content

[9.18] Try to cleanup all parents, but skip those with children

Ondřej Surý requested to merge 4596-few-more-tweaks-to-prune_tree-9.18 into bind-9.18

The parent->down was not checked when sending the parent to the prune tree, thus sending a node that would be later rejected to the pruning. On top of that, is_leaf() was called in error, skipping deletion of the parents that have siblings.

Closes #4596 (closed)

Merge request reports