mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
1923. [bug] ns_client_detach() called too early. [RT #15499]
This commit is contained in:
2
CHANGES
2
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
|
1922. [bug] check-tool.c:setup_logging() missing call to
|
||||||
dns_log_setcontext().
|
dns_log_setcontext().
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: update.c,v 1.124 2005/08/24 23:53:57 marka Exp $ */
|
/* $Id: update.c,v 1.125 2005/10/07 04:03:24 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -2844,8 +2844,8 @@ updatedone_action(isc_task_t *task, isc_event_t *event) {
|
|||||||
INSIST(client->nupdates > 0);
|
INSIST(client->nupdates > 0);
|
||||||
client->nupdates--;
|
client->nupdates--;
|
||||||
respond(client, uev->result);
|
respond(client, uev->result);
|
||||||
ns_client_detach(&client);
|
|
||||||
isc_event_free(&event);
|
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);
|
INSIST(client->nupdates > 0);
|
||||||
client->nupdates--;
|
client->nupdates--;
|
||||||
respond(client, DNS_R_SERVFAIL);
|
respond(client, DNS_R_SERVFAIL);
|
||||||
ns_client_detach(&client);
|
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
|
ns_client_detach(&client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user