]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix respip for braces when locks arent used.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Apr 2017 11:57:27 +0000 (11:57 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Apr 2017 11:57:27 +0000 (11:57 +0000)
git-svn-id: file:///svn/unbound/trunk@4091 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
respip/respip.c

index b2187e6aa55c7826e851e5c8e2b10be4751915dd..8e33652b1660bab46ad0b55c07ca487b3092a6fb 100644 (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
index 22bb81e7c9d1356f8ebf22e8e3b6c0ee200e2e04..f1a609f13fe831b185738521b1732e2bbbee2d12 100644 (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