]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't set memory context name in resolver.c
authorOndřej Surý <ondrej@isc.org>
Tue, 25 May 2021 05:25:44 +0000 (07:25 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 25 May 2021 05:25:44 +0000 (07:25 +0200)
We now attach to existing memory context instead of creating a new
memory context, so we should not set its name.

lib/dns/resolver.c

index 294678d046fafbaa86473d27a19e3e2f94c5f216..edb09e39d30c6d01441f8aa66bea2449e22b4e95 100644 (file)
@@ -10403,7 +10403,6 @@ dns_resolver_create(dns_view_t *view, isc_taskmgr_t *taskmgr,
                res->buckets[i].mctx = NULL;
                snprintf(name, sizeof(name), "res%u", i);
                isc_mem_attach(view->mctx, &res->buckets[i].mctx);
-               isc_mem_setname(res->buckets[i].mctx, name);
                isc_task_setname(res->buckets[i].task, name, res);
                ISC_LIST_INIT(res->buckets[i].fctxs);
                atomic_init(&res->buckets[i].exiting, false);