summaryrefslogtreecommitdiff
path: root/usr.bin/dig/nslookup.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-02-24 17:43:54 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-02-24 17:43:54 +0000
commitb1a99024f5d5599fb958f56e3f88c01618140317 (patch)
tree67395b57b088c50b47e093cbf302ce7e883e957f /usr.bin/dig/nslookup.c
parent7c6e2af877a2277d94b9a4ca39da39d0762ee19e (diff)
We only need to free cname, ns, soa and tsig structs.
OK jsg
Diffstat (limited to 'usr.bin/dig/nslookup.c')
-rw-r--r--usr.bin/dig/nslookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dig/nslookup.c b/usr.bin/dig/nslookup.c
index 84b0543c4c1..5c5094a1a9f 100644
--- a/usr.bin/dig/nslookup.c
+++ b/usr.bin/dig/nslookup.c
@@ -174,7 +174,7 @@ printsoa(dns_rdata_t *rdata) {
printf("\tretry = %u\n", soa.retry);
printf("\texpire = %u\n", soa.expire);
printf("\tminimum = %u\n", soa.minimum);
- dns_rdata_freestruct(&soa);
+ dns_rdata_freestruct_soa(&soa);
}
static void