From: Mark Andrews Date: Wed, 28 Sep 2005 04:50:15 +0000 (+0000) Subject: 1920. [bug] Client memory contexts were not using internal X-Git-Tag: v9.4.0a2~31^2~9 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8ec056723666c71a499880ffa415661f37ffd08e;p=thirdparty%2Fbind9.git 1920. [bug] Client memory contexts were not using internal malloc. [RT# 15434] --- diff --git a/CHANGES b/CHANGES index 101c576b042..745c82542e7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1920. [bug] Client memory contexts were not using internal + malloc. [RT# 15434] + 1919. [bug] The cache memory context array was too small to have the desired performance characteristics. [RT #15454] diff --git a/bin/named/client.c b/bin/named/client.c index 4b16228aac0..0b1bbb41549 100644 --- a/bin/named/client.c +++ b/bin/named/client.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: client.c,v 1.230 2005/08/15 01:21:03 marka Exp $ */ +/* $Id: client.c,v 1.231 2005/09/28 04:50:15 marka Exp $ */ #include @@ -1698,7 +1698,8 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp) { * since we are very sure that multiple threads will never get access * to the context simultaneously. */ - result = isc_mem_create2(0, 0, &mctx, ISC_MEMFLAG_NOLOCK); + result = isc_mem_create2(0, 0, &mctx, + ISC_MEMFLAG_DEFAULT | ISC_MEMFLAG_NOLOCK); if (result != ISC_R_SUCCESS) return (result); #else