mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
Call nta_detach() before dns_view_weakdetach() so view is available.
This commit is contained in:
parent
1be2a83c67
commit
ea956976d1
1 changed files with 1 additions and 1 deletions
|
|
@ -270,8 +270,8 @@ checkbogus(isc_task_t *task, isc_event_t *event) {
|
|||
NULL, 0, DNS_FETCHOPT_NONTA, 0, NULL, task, fetch_done, nta,
|
||||
&nta->rdataset, &nta->sigrdataset, &nta->fetch);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_view_weakdetach(&view);
|
||||
nta_detach(view->mctx, &nta);
|
||||
dns_view_weakdetach(&view);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue