mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Do not discard bucket from internal nodes
This commit is contained in:
parent
4a1f4e837d
commit
fccb5140e2
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user