git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fad80b
)
r19303: It seem ok to have around this amount of blocks hanging out of an ldb context...
author
Simo Sorce
<idra@samba.org>
Mon, 16 Oct 2006 01:00:04 +0000
(
01:00
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:21:05 +0000
(14:21 -0500)
source/lib/db_wrap.c
patch
|
blob
|
history
diff --git
a/source/lib/db_wrap.c
b/source/lib/db_wrap.c
index de6e8a2c0b1a613be489f05982caeb8456f331c4..2287458543fdde69c6fb6f917f3758d6bcc2b3fd 100644
(file)
--- a/
source/lib/db_wrap.c
+++ b/
source/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),