3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777]

(cherry picked from commit e7b9603ead)
This commit is contained in:
Mark Andrews 2013-03-07 07:13:38 +11:00
parent badb0596d3
commit 84e4b4e536
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,5 @@
3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777]
3515. [port] '%T' is not portable in strftime(). [RT #32763]
3514. [bug] The ranges for valid key sizes in ddns-confgen and

View file

@ -9602,9 +9602,9 @@ notify_send_toaddr(isc_task_t *task, isc_event_t *event) {
dns_message_destroy(&message);
cleanup:
UNLOCK_ZONE(notify->zone);
isc_event_free(&event);
if (result != ISC_R_SUCCESS)
notify_destroy(notify, ISC_FALSE);
isc_event_free(&event);
}
static void