]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to put braces around empty if body when threading is disabled.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Feb 2020 14:33:02 +0000 (15:33 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Feb 2020 14:33:02 +0000 (15:33 +0100)
doc/Changelog
respip/respip.c

index 6b6a0ebad1e250b71627fa7b81ba0751389632e0..9fec42bbe8692f6a3771f74e528480f8b2351599 100644 (file)
@@ -11,6 +11,7 @@
        - Fix to create and destroy rpz_lock in auth_zones structure.
        - Fix to lock zone before adding rpz qname trigger.
        - Fix to lock and release once in mesh_serve_expired_lookup.
+       - Fix to put braces around empty if body when threading is disabled.
 
 5 February 2020: George
        - Added serve-stale functionality as described in
index ec7026adda45ea8e6ccd4178b349620bad70ffb0..e47171f851be47d59ff874f257a78eb7d3992e6f 100644 (file)
@@ -1017,8 +1017,9 @@ respip_rewrite_reply(const struct query_info* qinfo,
                        redirect_rrset, tag, ipset, search_only, region,
                                rpz_used, rpz_log, log_name, rpz_cname_override);
        }
-       if(raddr)
+       if(raddr) {
                lock_rw_unlock(&raddr->lock);
+       }
        return ret;
 }