mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
configure_view() was not detaching iplist after use.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user