- Fix respip for braces when locks arent used.

git-svn-id: file:///svn/unbound/trunk@4091 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-04-06 11:57:27 +00:00
parent f7595c3348
commit bdac428d79
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,7 @@
6 April 2017: Wouter
- Small fixup for documentation.
- iana portlist update
- Fix respip for braces when locks arent used.
4 April 2017: Wouter
- Fix #1244: document that use of chroot requires trust anchor file to

View file

@ -895,8 +895,9 @@ respip_rewrite_reply(const struct query_info* qinfo,
}
}
done:
if(view)
if(view) {
lock_rw_unlock(&view->lock);
}
if(ret) {
/* If we're redirecting the original answer to a
* CNAME, record the CNAME rrset so the caller can take