From bdac428d791520cdbf95462af6f0c749fc6c730a Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 6 Apr 2017 11:57:27 +0000 Subject: [PATCH] - Fix respip for braces when locks arent used. git-svn-id: file:///svn/unbound/trunk@4091 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + respip/respip.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index b2187e6aa..8e33652b1 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/respip/respip.c b/respip/respip.c index 22bb81e7c..f1a609f13 100644 --- a/respip/respip.c +++ b/respip/respip.c @@ -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