summaryrefslogtreecommitdiff
path: root/respip
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:54:35 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:54:35 +0000
commit15de2de8449b4f5063f93578ae68aa0bc79a205c (patch)
treef0a7e3230212205e7ff88a2900de97026940f63c /respip
parent689b65913bba5320ef50befddf4743c6dafde873 (diff)
downloadsrc-test2-15de2de8449b4f5063f93578ae68aa0bc79a205c.tar.gz
src-test2-15de2de8449b4f5063f93578ae68aa0bc79a205c.zip
Notes
Diffstat (limited to 'respip')
-rw-r--r--respip/respip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/respip/respip.c b/respip/respip.c
index d7132511122a..2e9313f271bb 100644
--- a/respip/respip.c
+++ b/respip/respip.c
@@ -261,6 +261,7 @@ respip_enter_rr(struct regional* region, struct resp_addr* raddr,
log_err("bad response-ip-data: %s", rrstr);
return 0;
}
+ free(nm);
sa = (struct sockaddr*)&raddr->node.addr;
if (rrtype == LDNS_RR_TYPE_CNAME && raddr->data) {
log_err("CNAME response-ip data (%s) can not co-exist with other "