summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-16 01:00:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:05 -0500
commit44146fc878b041cd33bc5383c717955f1438cb62 (patch)
tree5ba5e31b91b774869466cb10919deca109eedeb3
parent59b66744f7318d8197f0d2029bf3b641dafa327e (diff)
downloadsamba-44146fc878b041cd33bc5383c717955f1438cb62.tar.gz
samba-44146fc878b041cd33bc5383c717955f1438cb62.tar.bz2
samba-44146fc878b041cd33bc5383c717955f1438cb62.zip
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)
-rw-r--r--source4/lib/db_wrap.c2
1 files changed, 1 insertions, 1 deletions
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),