summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-01-17 08:37:58 +0100
committerMatthieu Patou <mat@matws.net>2013-01-17 00:20:40 -0800
commit961a1fbbbccb7fbb14634ec230985f3fd000b050 (patch)
tree904fcc188403f4f9568a9382620584e805c2ae94
parent947985b259ac05e95d65be19c67f384579a797ce (diff)
downloadsamba-961a1fbbbccb7fbb14634ec230985f3fd000b050.tar.gz
samba-961a1fbbbccb7fbb14634ec230985f3fd000b050.tar.bz2
samba-961a1fbbbccb7fbb14634ec230985f3fd000b050.zip
dsdb-acl: talloc_free the private context when we pass to the next module
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Matthieu Patou <mat@matws.net>
-rw-r--r--source4/dsdb/samdb/ldb_modules/acl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index 19271326aa..e5597710e8 100644
--- a/source4/dsdb/samdb/ldb_modules/acl.c
+++ b/source4/dsdb/samdb/ldb_modules/acl.c
@@ -1680,6 +1680,7 @@ static int acl_search(struct ldb_module *module, struct ldb_request *req)
}
if (!ac->constructed_attrs && !ac->modify_search) {
+ talloc_free(ac);
return ldb_next_request(module, req);
}