From: Andrew Tridgell Date: Mon, 16 Oct 2006 11:12:13 +0000 (+0000) Subject: r19328: another leak plugged .... X-Git-Tag: samba-4.0.0alpha6~801^3~4473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a549eacaef6fee1077c96790cb037b09638c31;p=thirdparty%2Fsamba.git r19328: another leak plugged .... (This used to be commit f57535b9c2214e58c71084fcb9d74848e7d26b89) --- diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 8cf865bd3ef..f6070d518c0 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; }