[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Thu Dec 23 13:47:02 MST 2010


The branch, master has been updated
       via  e30299e s4:acl LDB module - add a missing "talloc_free(tmp_ctx)" in an error path
      from  46ee690 tdb: add ABI/tdb-1.2.8.sigs

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e30299eabd0a7ddc4db2042982fcffd727dcfba9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Thu Dec 23 20:54:08 2010 +0100

    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 at samba.org>
    Autobuild-Date: Thu Dec 23 21:46:38 CET 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source4/dsdb/samdb/ldb_modules/acl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index 42e08cd..33dcc6b 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.");
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list