summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-16 11:12:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:10 -0500
commit86a549eacaef6fee1077c96790cb037b09638c31 (patch)
tree7c3f059fb19109fc13c31d5eceef3672af861f7f /source4/dsdb/samdb
parent64eed1e78e302b8fc71133e115f41f2c7b52b91b (diff)
downloadsamba-86a549eacaef6fee1077c96790cb037b09638c31.tar.gz
samba-86a549eacaef6fee1077c96790cb037b09638c31.tar.bz2
samba-86a549eacaef6fee1077c96790cb037b09638c31.zip
r19328: another leak plugged ....
(This used to be commit f57535b9c2214e58c71084fcb9d74848e7d26b89)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 8cf865bd3e..f6070d518c 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -751,7 +751,7 @@ static int samldb_add(struct ldb_module *module, struct ldb_request *req)
return ldb_next_request(module, req);
}
- down_req = talloc(module, struct ldb_request);
+ down_req = talloc(req, struct ldb_request);
if (down_req == NULL) {
return LDB_ERR_OPERATIONS_ERROR;
}