From: Igor Putovny Date: Wed, 22 Nov 2023 12:09:48 +0000 (+0100) Subject: Do not discard bucket from internal nodes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff74440a527089b04568061c5dfbe9f30fb6ebc5;p=thirdparty%2Fbird.git Do not discard bucket from internal nodes --- diff --git a/proto/aggregator/aggregator.c b/proto/aggregator/aggregator.c index cf16613f3..f81f5f24d 100644 --- a/proto/aggregator/aggregator.c +++ b/proto/aggregator/aggregator.c @@ -211,9 +211,6 @@ first_pass(struct trie_node *node, slab *trie_slab) /* Preorder traversal */ first_pass(node->child[0], trie_slab); first_pass(node->child[1], trie_slab); - - /* Discard bucket in interior nodes */ - node->bucket = NULL; } /*