]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1923. [bug] ns_client_detach() called too early. [RT #15499]
authorMark Andrews <marka@isc.org>
Fri, 7 Oct 2005 04:07:54 +0000 (04:07 +0000)
committerMark Andrews <marka@isc.org>
Fri, 7 Oct 2005 04:07:54 +0000 (04:07 +0000)
CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index 4c08cc92dc77c3d914e3e911453230b542c2fec8..39b5745409bd59f519873d199d5499581c492b3f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1923.  [bug]           ns_client_detach() called too early. [RT #15499]
+
 1922.  [bug]           check-tool.c:setup_logging() missing call to
                        dns_log_setcontext().
 
index 58f3e1122901f06ce2b6d1fbb828cbe6dded62e3..bcc55897679f91a44c06b13c9a79448c1d414321 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.109.18.14 2005/08/25 00:05:42 marka Exp $ */
+/* $Id: update.c,v 1.109.18.15 2005/10/07 04:07:53 marka Exp $ */
 
 #include <config.h>
 
@@ -2844,8 +2844,8 @@ updatedone_action(isc_task_t *task, isc_event_t *event) {
        INSIST(client->nupdates > 0);
        client->nupdates--;
        respond(client, uev->result);
-       ns_client_detach(&client);
        isc_event_free(&event);
+       ns_client_detach(&client);
 }
 
 /*%
@@ -2861,8 +2861,8 @@ forward_fail(isc_task_t *task, isc_event_t *event) {
        INSIST(client->nupdates > 0);
        client->nupdates--;
        respond(client, DNS_R_SERVFAIL);
-       ns_client_detach(&client);
        isc_event_free(&event);
+       ns_client_detach(&client);
 }