From 08835e01ee278fdf9e18f98e98d836db57b5ea08 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 15 Feb 2012 14:53:45 +0000 Subject: [PATCH] free unsupported trust anchors. git-svn-id: file:///svn/unbound/trunk@2624 be551aaa-1e26-0410-a405-d3ace91eadb9 --- validator/val_anchor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/val_anchor.c b/validator/val_anchor.c index 909afd62b..b9c268486 100644 --- a/validator/val_anchor.c +++ b/validator/val_anchor.c @@ -1032,7 +1032,7 @@ anchors_assemble_rrsets(struct val_anchors* anchors) " upgrade unbound and openssl)", b); (void)rbtree_delete(anchors->tree, &ta->node); lock_basic_unlock(&ta->lock); - lock_basic_destroy(&ta->lock); + anchors_delfunc(&ta->node, NULL); ta = next; continue; } -- 2.47.2