mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:59:59 -04:00
catz should use weak attachment to the view
(cherry picked from commit 941ad2b3c5)
This commit is contained in:
parent
d12def13f6
commit
35d908caa8
1 changed files with 3 additions and 3 deletions
|
|
@ -2881,7 +2881,7 @@ cleanup:
|
|||
}
|
||||
dns_catz_entry_detach(ev->origin, &ev->entry);
|
||||
dns_catz_detach_catz(&ev->origin);
|
||||
dns_view_detach(&ev->view);
|
||||
dns_view_weakdetach(&ev->view);
|
||||
isc_event_free(ISC_EVENT_PTR(&ev));
|
||||
}
|
||||
|
||||
|
|
@ -2956,7 +2956,7 @@ cleanup:
|
|||
}
|
||||
dns_catz_entry_detach(ev->origin, &ev->entry);
|
||||
dns_catz_detach_catz(&ev->origin);
|
||||
dns_view_detach(&ev->view);
|
||||
dns_view_weakdetach(&ev->view);
|
||||
isc_event_free(ISC_EVENT_PTR(&ev));
|
||||
}
|
||||
|
||||
|
|
@ -2998,7 +2998,7 @@ catz_create_chg_task(dns_catz_entry_t *entry, dns_catz_zone_t *origin,
|
|||
|
||||
dns_catz_entry_attach(entry, &event->entry);
|
||||
dns_catz_attach_catz(origin, &event->origin);
|
||||
dns_view_attach(view, &event->view);
|
||||
dns_view_weakattach(view, &event->view);
|
||||
|
||||
isc_task_send(task, ISC_EVENT_PTR(&event));
|
||||
isc_task_detach(&task);
|
||||
|
|
|
|||
Loading…
Reference in a new issue