From 961a1fbbbccb7fbb14634ec230985f3fd000b050 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 17 Jan 2013 08:37:58 +0100 Subject: [PATCH] dsdb-acl: talloc_free the private context when we pass to the next module Signed-off-by: Stefan Metzmacher Reviewed-by: Matthieu Patou --- source4/dsdb/samdb/ldb_modules/acl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c index 19271326aa9..e5597710e82 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); } -- 2.11.4.GIT