summaryrefslogtreecommitdiff
path: root/tools/dnssec
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dnssec')
-rw-r--r--tools/dnssec/dns-text2wire.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/dnssec/dns-text2wire.c b/tools/dnssec/dns-text2wire.c
index 99d418f..f15ae19 100644
--- a/tools/dnssec/dns-text2wire.c
+++ b/tools/dnssec/dns-text2wire.c
@@ -38,6 +38,7 @@ main(int argc, char *argv[])
r = getdns_rr_dict2wire(rr, &buf, &buf_len);
assert(!r);
ssize_t n = write(1, buf, buf_len);
+ free(buf);
assert(n == buf_len);
}
return 0;