Fixup memleak in unsupported algorithm checks at startup.

git-svn-id: file:///svn/unbound/trunk@1774 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-08-25 06:51:00 +00:00
parent 4e176a0aa6
commit d8e6209a2e
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
25 August 2009: Wouter
- fixup memleak in trust anchor unsupported algorithm check.
24 August 2009: Wouter
- cleaner memory allocation on exit. autotrust test routines.
- free all memory on program exit, fix for ssl and flex.

Binary file not shown.

View File

@ -970,6 +970,10 @@ anchors_assemble_rrsets(struct val_anchors* anchors)
" the anchor is ignored (check if you need to"
" upgrade unbound and openssl)", b);
(void)rbtree_delete(anchors->tree, &ta->node);
lock_basic_unlock(&ta->lock);
lock_basic_destroy(&ta->lock);
ta = next;
continue;
}
lock_basic_unlock(&ta->lock);
ta = next;