]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2075. [bug] The spillat timer event hander could leak memory.
authorMark Andrews <marka@isc.org>
Tue, 22 Aug 2006 06:11:19 +0000 (06:11 +0000)
committerMark Andrews <marka@isc.org>
Tue, 22 Aug 2006 06:11:19 +0000 (06:11 +0000)
                        [RT #16357]

CHANGES
lib/dns/resolver.c

diff --git a/CHANGES b/CHANGES
index d1b832c0e842195240ae85dc033887a8d44ceb94..e51725bf81f8918f1db9d33f6bd0df81fc707612 100644 (file)
--- 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]
index 483c159b237cb7996315f92722caa9325991d1e6..5eeca8d7f8e506feed3d42668f313305e016d597 100644 (file)
@@ -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