mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +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);
|
ISC_LIST_APPEND(addresses, sa, link);
|
||||||
}
|
}
|
||||||
INSIST(!ISC_LIST_EMPTY(addresses));
|
INSIST(!ISC_LIST_EMPTY(addresses));
|
||||||
|
dns_c_iplist_detach(&forwarders);
|
||||||
CHECK(dns_resolver_setforwarders(view->resolver, &addresses));
|
CHECK(dns_resolver_setforwarders(view->resolver, &addresses));
|
||||||
/*
|
/*
|
||||||
* XXXRTH The configuration type 'dns_c_forw_t' should be
|
* XXXRTH The configuration type 'dns_c_forw_t' should be
|
||||||
|
Reference in New Issue
Block a user