diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-23 20:54:08 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-23 21:46:37 +0100 |
commit | e30299eabd0a7ddc4db2042982fcffd727dcfba9 (patch) | |
tree | acc0a7106370c8d34efa7f54ce260aab2dede8ed /source4/dsdb/samdb/ldb_modules | |
parent | 46ee6908be64c4405b3a8f7477abc119aa060020 (diff) | |
download | samba-e30299eabd0a7ddc4db2042982fcffd727dcfba9.tar.gz samba-e30299eabd0a7ddc4db2042982fcffd727dcfba9.tar.bz2 samba-e30299eabd0a7ddc4db2042982fcffd727dcfba9.zip |
s4:acl LDB module - add a missing "talloc_free(tmp_ctx)" in an error path
Just for consistency.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 23 21:46:38 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/acl.c | 1 |
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 42e08cd0aa..33dcc6bffa 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -613,6 +613,7 @@ static int acl_check_spn(TALLOC_CTX *mem_ctx, el = ldb_msg_find_element(req->op.mod.message, "servicePrincipalName"); if (!el) { + talloc_free(tmp_ctx); return ldb_error(ldb, LDB_ERR_OPERATIONS_ERROR, "Error finding element for servicePrincipalName."); } |