mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
configure_view() was not detaching iplist after use.
This commit is contained in:
parent
a2aefa9a62
commit
e3f0a6821c
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, isc_mem_t *mctx,
|
|||
ISC_LIST_APPEND(addresses, sa, link);
|
||||
}
|
||||
INSIST(!ISC_LIST_EMPTY(addresses));
|
||||
dns_c_iplist_detach(&forwarders);
|
||||
CHECK(dns_resolver_setforwarders(view->resolver, &addresses));
|
||||
/*
|
||||
* XXXRTH The configuration type 'dns_c_forw_t' should be
|
||||
|
|
|
|||
Loading…
Reference in a new issue