From 44146fc878b041cd33bc5383c717955f1438cb62 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 16 Oct 2006 01:00:04 +0000 Subject: r19303: It seem ok to have around this amount of blocks hanging out of an ldb context for sam.ldb (This used to be commit 5861ff69cc929c553e2c828ff42761cec6647d79) --- source4/lib/db_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/db_wrap.c b/source4/lib/db_wrap.c index de6e8a2c0b..2287458543 100644 --- a/source4/lib/db_wrap.c +++ b/source4/lib/db_wrap.c @@ -68,7 +68,7 @@ char *wrap_casefold(void *context, void *mem_ctx, const char *s) /* check for leaks */ static int ldb_wrap_destructor(struct ldb_context *ldb) { - if (talloc_total_blocks(ldb) > 300) { + if (talloc_total_blocks(ldb) > 656) { DEBUG(0,("WARNING: probable memory leak in ldb %s - %lu blocks %lu bytes\n", (char *)ldb_get_opaque(ldb, "wrap_url"), (unsigned long)talloc_total_blocks(ldb), -- cgit