]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1920. [bug] Client memory contexts were not using internal
authorMark Andrews <marka@isc.org>
Wed, 28 Sep 2005 04:52:03 +0000 (04:52 +0000)
committerMark Andrews <marka@isc.org>
Wed, 28 Sep 2005 04:52:03 +0000 (04:52 +0000)
                        malloc. [RT# 15434]

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index 92b9108b4e86e95427725817b88ebb9d21838f2f..b580b686c3b165d4b405d5dbf91279214be7f1f9 100644 (file)
--- 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]
index 164f8eeeadda7e2f25bae2410690e18057ca68ab..8657f43427b735f3b81409a725650dd5cf515dde 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.219.18.11 2005/08/15 01:46:48 marka Exp $ */
+/* $Id: client.c,v 1.219.18.12 2005/09/28 04:52:03 marka Exp $ */
 
 #include <config.h>
 
@@ -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