]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
eratum
authorYuri Schaeffer <yuri@nlnetlabs.nl>
Mon, 14 Oct 2013 08:09:53 +0000 (08:09 +0000)
committerYuri Schaeffer <yuri@nlnetlabs.nl>
Mon, 14 Oct 2013 08:09:53 +0000 (08:09 +0000)
git-svn-id: file:///svn/unbound/branches/edns-subnet@2981 be551aaa-1e26-0410-a405-d3ace91eadb9

edns-subnet/addrtree.c

index a13a88e395ab8d3775f6f9f39bab1c393b2742b1..95ea61f1569050f492979ede6613969ee10c251b 100644 (file)
@@ -174,6 +174,7 @@ size_t addrtree_size(const struct addrtree* tree)
 static void
 clean_node(struct addrtree* tree, struct addrnode* node)
 {
+       tree->node_count--;
        if (!node->elem) return;
        tree->delfunc(tree->env, node->elem);
        node->elem = NULL;