From 8e0044fe57c35fff071d577a66c40e39acd586ba Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Thu, 11 Jan 2001 07:28:30 +0000 Subject: [PATCH] another memory leak. --- lib/dns/tkey.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/tkey.c b/lib/dns/tkey.c index 0a7f6f90b1..00ee7fdf04 100644 --- a/lib/dns/tkey.c +++ b/lib/dns/tkey.c @@ -16,7 +16,7 @@ */ /* - * $Id: tkey.c,v 1.60 2001/01/11 04:23:39 bwelling Exp $ + * $Id: tkey.c,v 1.61 2001/01/11 07:28:30 bwelling Exp $ */ #include @@ -708,6 +708,7 @@ dns_tkey_processquery(dns_message_t *msg, dns_tkeyctx_t *tctx, } if (tctx->domain == NULL) { tkey_log("dns_tkey_processquery: tkey-domain not set"); + dns_message_takebuffer(msg, &buf); result = DNS_R_REFUSED; goto failure; }