]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r19303: It seem ok to have around this amount of blocks hanging out of an ldb context...
authorSimo Sorce <idra@samba.org>
Mon, 16 Oct 2006 01:00:04 +0000 (01:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:05 +0000 (14:21 -0500)
(This used to be commit 5861ff69cc929c553e2c828ff42761cec6647d79)

source4/lib/db_wrap.c

index de6e8a2c0b1a613be489f05982caeb8456f331c4..2287458543fdde69c6fb6f917f3758d6bcc2b3fd 100644 (file)
@@ -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),