[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Wed Nov 17 01:46:02 MST 2010


The branch, master has been updated
       via  3e055cc ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error cases
      from  3f43b7e tevent: Fix docstring, tevent_req_is_in_progress does not destroy private data

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


- Log -----------------------------------------------------------------
commit 3e055cc830eedaddf73456a31c5eeed2b3e9a00f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Wed Nov 17 08:58:21 2010 +0100

    ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error cases
    
    Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
    Autobuild-Date: Wed Nov 17 08:45:53 UTC 2010 on sn-devel-104

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

Summary of changes:
 source4/lib/ldb/common/ldb_dn.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 69018b7..a17d516 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -729,8 +729,11 @@ static bool ldb_dn_explode(struct ldb_dn *dn)
 	return true;
 
 failed:
+	LDB_FREE(dn->components);
 	dn->comp_num = 0;
-	talloc_free(dn->components);
+	LDB_FREE(dn->ext_components);
+	dn->ext_comp_num = 0;
+
 	return false;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list