[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Mon Jun 21 03:13:03 MDT 2010


The branch, master has been updated
       via  c38f94e... s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)
      from  2352538... s3-docs: Add missing whitespace.

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


- Log -----------------------------------------------------------------
commit c38f94ed9b68f53721421c91f74a8bd1f30efd4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Mon Jun 21 11:02:45 2010 +0200

    s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)

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

Summary of changes:
 source4/dsdb/common/util.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 28061f3..515d96d 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -2655,13 +2655,12 @@ int dsdb_load_partition_usn(struct ldb_context *ldb, struct ldb_dn *dn,
 
 	p_ctrl = talloc(req, struct dsdb_control_current_partition);
 	if (p_ctrl == NULL) {
-		talloc_free(res);
+		talloc_free(tmp_ctx);
 		return LDB_ERR_OPERATIONS_ERROR;
 	}
 	p_ctrl->version = DSDB_CONTROL_CURRENT_PARTITION_VERSION;
 	p_ctrl->dn = dn;
 	
-
 	ret = ldb_request_add_control(req,
 				      DSDB_CONTROL_CURRENT_PARTITION_OID,
 				      false, p_ctrl);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list