svn commit: samba r19303 - in branches/SAMBA_4_0/source/lib: .
idra at samba.org
idra at samba.org
Mon Oct 16 01:00:05 GMT 2006
Author: idra
Date: 2006-10-16 01:00:04 +0000 (Mon, 16 Oct 2006)
New Revision: 19303
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19303
Log:
It seem ok to have around this amount of blocks hanging out of an ldb context for sam.ldb
Modified:
branches/SAMBA_4_0/source/lib/db_wrap.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/db_wrap.c
===================================================================
--- branches/SAMBA_4_0/source/lib/db_wrap.c 2006-10-16 00:12:00 UTC (rev 19302)
+++ branches/SAMBA_4_0/source/lib/db_wrap.c 2006-10-16 01:00:04 UTC (rev 19303)
@@ -68,7 +68,7 @@
/* 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),
More information about the samba-cvs
mailing list