mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Set the clientmgr isc_mem_t context name
The memory context created in the clientmgr context was missing a name, so it was nameless in the memory context statistics. Set the clientmgr memory context name to "clientmgr".
This commit is contained in:
committed by
Arаm Sаrgsyаn
parent
11ab4ffb42
commit
ce75d4a96b
@@ -830,9 +830,9 @@ dns_view_createresolver(dns_view_t *view, isc_taskmgr_t *taskmgr,
|
||||
isc_refcount_increment(&view->weakrefs);
|
||||
|
||||
isc_mem_create(&mctx);
|
||||
isc_mem_setname(mctx, "ADB");
|
||||
|
||||
result = dns_adb_create(mctx, view, timermgr, taskmgr, &view->adb);
|
||||
isc_mem_setname(mctx, "ADB");
|
||||
isc_mem_detach(&mctx);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_resolver_shutdown(view->resolver);
|
||||
|
Reference in New Issue
Block a user