2
0
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:
Ondřej Surý
2021-12-14 13:02:50 +01:00
committed by Arаm Sаrgsyаn
parent 11ab4ffb42
commit ce75d4a96b
2 changed files with 2 additions and 1 deletions

View File

@@ -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);