From 0583bf2d0affe0a90ca2284cc27840b160029ff9 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Wed, 27 Oct 1999 19:33:49 +0000 Subject: [PATCH] set names on mempools --- lib/dns/message.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dns/message.c b/lib/dns/message.c index 9c7a510428..9782d1729b 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -505,6 +505,7 @@ dns_message_create(isc_mem_t *mctx, unsigned int intent, dns_message_t **msgp) goto cleanup; isc_mempool_setfreemax(m->namepool, NAME_COUNT); isc_mempool_setfillcount(m->namepool, NAME_COUNT); + isc_mempool_setname(m->namepool, "msg:names"); result = isc_mempool_create(m->mctx, sizeof(dns_rdataset_t), &m->rdspool); @@ -512,6 +513,7 @@ dns_message_create(isc_mem_t *mctx, unsigned int intent, dns_message_t **msgp) goto cleanup; isc_mempool_setfreemax(m->rdspool, NAME_COUNT); isc_mempool_setfillcount(m->rdspool, NAME_COUNT); + isc_mempool_setname(m->rdspool, "msg:rdataset"); dynbuf = NULL; result = isc_buffer_allocate(mctx, &dynbuf, SCRATCHPAD_SIZE,