]> 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:21:39 +0000 (04:21 +0000)
committerMark Andrews <marka@isc.org>
Fri, 7 Oct 2005 04:21:39 +0000 (04:21 +0000)
CHANGES
bin/named/update.c

diff --git a/CHANGES b/CHANGES
index 2a612a12eb687a0d3f05ed651faa9d31757429f6..d8eba8120e11581cee86e1151586711da8dda2fe 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,4 @@
+1923.  [bug]           ns_client_detach() called too early. [RT #15499]
 
        --- 9.2.6b1 released ---
 
index 08341bc6a081c14480c3ca2d20600d9052568667..7ae9093dad5ab8c327cb8893516aaa53840b4ee0 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.88.2.15 2004/10/21 01:35:12 marka Exp $ */
+/* $Id: update.c,v 1.88.2.16 2005/10/07 04:21:38 marka Exp $ */
 
 #include <config.h>
 
@@ -2546,8 +2546,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);
 }
 
 /*
@@ -2563,8 +2563,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);
 }