summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-14 15:13:11 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-10-14 15:13:11 +0000
commit42cbbcdc7c610668a63489b65e1fdf183fd84e4a (patch)
treedba84fc0998d73d2836c1de84794dfbce294baaf
parent7f502d6d8a7b5e36e7343a3df02b69255f9f1edc (diff)
Add missing {} on if statement; ISC#1744
ok jakob@
-rw-r--r--usr.sbin/bind/lib/dns/xfrin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/dns/xfrin.c b/usr.sbin/bind/lib/dns/xfrin.c
index 4191ddc2197..d10ef402bb5 100644
--- a/usr.sbin/bind/lib/dns/xfrin.c
+++ b/usr.sbin/bind/lib/dns/xfrin.c
@@ -922,9 +922,10 @@ tuple2msgname(dns_difftuple_t *tuple, dns_message_t *msg, dns_name_t **target)
failure:
- if (rds != NULL)
+ if (rds != NULL) {
dns_rdataset_disassociate(rds);
dns_message_puttemprdataset(msg, &rds);
+ }
if (rdl != NULL) {
ISC_LIST_UNLINK(rdl->rdata, rdata, link);
dns_message_puttemprdatalist(msg, &rdl);