From: Stefan Metzmacher Date: Thu, 17 Jan 2013 07:37:58 +0000 (+0100) Subject: dsdb-acl: talloc_free the private context when we pass to the next module X-Git-Tag: ldb-1.1.15~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=961a1fbbbccb7fbb14634ec230985f3fd000b050;p=thirdparty%2Fsamba.git dsdb-acl: talloc_free the private context when we pass to the next module Signed-off-by: Stefan Metzmacher Reviewed-by: Matthieu Patou --- 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); }