From 22e5a52c3b5bfef7e75d95629e08cab7592fee5c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 22 Aug 2006 06:11:19 +0000 Subject: [PATCH] 2075. [bug] The spillat timer event hander could leak memory. [RT #16357] --- CHANGES | 3 +++ lib/dns/resolver.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index d1b832c0e8..e51725bf81 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2075. [bug] The spillat timer event hander could leak memory. + [RT #16357] + 2074. [bug] dns_request_createvia2(), dns_request_createvia3(), dns_request_createraw2() and dns_request_createraw3() failed to send multiple UDP requests. [RT #16349] diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 483c159b23..5eeca8d7f8 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.332 2006/07/22 01:18:35 marka Exp $ */ +/* $Id: resolver.c,v 1.333 2006/08/22 06:11:19 marka Exp $ */ /*! \file */ @@ -6007,6 +6007,8 @@ spillattimer_countdown(isc_task_t *task, isc_event_t *event) { isc_log_write(dns_lctx, DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER, ISC_LOG_NOTICE, "clients-per-query decreased to %u", count); + + isc_event_free(&event); } isc_result_t