This commit was manufactured by cvs2git to create branch 'rt17311'.

This commit is contained in:
cvs2git
2007-11-26 23:18:09 +00:00
4 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
2266. [bug] client.c:get_clientmctx() returned the same mctx
once the pool of mctx's was filled. [RT #17218]
2265. [bug] Test that the memory context's basic_table is non NULL
before freeing. [RT #17265]
2264. [bug] Server prefix length was being ignored. [RT #17308]
2263. [bug] "named-checkconf -z" failed to set default value

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.249 2007/08/22 00:42:42 marka Exp $ */
/* $Id: client.c,v 1.250 2007/11/26 04:47:17 marka Exp $ */
#include <config.h>
@@ -1853,10 +1853,10 @@ get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
return (result);
manager->mctxpool[manager->nextmctx] = clientmctx;
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
}
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
#else
clientmctx = manager->mctx;
#endif

View File

@@ -88,6 +88,7 @@ rt17236 new shane // 2007-10-29 16:43 +0000
rt17237 open fdupont // re-signing
rt1727 open // ixfr-from-differences workfile
rt17272 new each // 2007-11-19 21:28 +0000
rt17307 new marka // 2007-11-26 03:55 +0000
shane_dbbackend open
skan open explorer
skan-metazones1 private explorer

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: mem.c,v 1.136 2007/10/30 23:30:09 marka Exp $ */
/* $Id: mem.c,v 1.137 2007/11/26 04:27:19 marka Exp $ */
/*! \file */
@@ -907,7 +907,8 @@ destroy(isc_mem_t *ctx) {
for (i = 0; i < ctx->basic_table_count; i++)
(ctx->memfree)(ctx->arg, ctx->basic_table[i]);
(ctx->memfree)(ctx->arg, ctx->freelists);
(ctx->memfree)(ctx->arg, ctx->basic_table);
if (ctx->basic_table != NULL)
(ctx->memfree)(ctx->arg, ctx->basic_table);
}
ondest = ctx->ondestroy;