mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 06:37:42 -04:00
catz should use weak attachment to the view
This commit is contained in:
parent
307e3ed9a6
commit
941ad2b3c5
1 changed files with 3 additions and 3 deletions
|
|
@ -2852,7 +2852,7 @@ cleanup:
|
|||
}
|
||||
dns_catz_entry_detach(cz->origin, &cz->entry);
|
||||
dns_catz_zone_detach(&cz->origin);
|
||||
dns_view_detach(&cz->view);
|
||||
dns_view_weakdetach(&cz->view);
|
||||
isc_mem_putanddetach(&cz->mctx, cz, sizeof(*cz));
|
||||
}
|
||||
|
||||
|
|
@ -2926,7 +2926,7 @@ cleanup:
|
|||
}
|
||||
dns_catz_entry_detach(cz->origin, &cz->entry);
|
||||
dns_catz_zone_detach(&cz->origin);
|
||||
dns_view_detach(&cz->view);
|
||||
dns_view_weakdetach(&cz->view);
|
||||
isc_mem_putanddetach(&cz->mctx, cz, sizeof(*cz));
|
||||
}
|
||||
|
||||
|
|
@ -2958,7 +2958,7 @@ catz_run(dns_catz_entry_t *entry, dns_catz_zone_t *origin, dns_view_t *view,
|
|||
|
||||
dns_catz_entry_attach(entry, &cz->entry);
|
||||
dns_catz_zone_attach(origin, &cz->origin);
|
||||
dns_view_attach(view, &cz->view);
|
||||
dns_view_weakattach(view, &cz->view);
|
||||
|
||||
isc_async_run(named_g_mainloop, action, cz);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue