[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-419-g7735650

Volker Lendecke vlendec at samba.org
Tue Mar 17 10:32:27 GMT 2009


The branch, master has been updated
       via  7735650f2ed74a72ddee272baf281e3fd9e7c42b (commit)
      from  0e2139c6936b28015a8a2a539810c2bd7821d36f (commit)

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


- Log -----------------------------------------------------------------
commit 7735650f2ed74a72ddee272baf281e3fd9e7c42b
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Mar 17 11:22:41 2009 +0100

    Fix a valgrind error
    
    Found in "make test" -- if we can't connect at all, "cli" is uninitialized

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

Summary of changes:
 source3/winbindd/winbindd_cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index e06e30e..d595f80 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1772,7 +1772,7 @@ static void set_dc_type_and_flags_connect( struct winbindd_domain *domain )
 	NTSTATUS 		result;
 	WERROR werr;
 	TALLOC_CTX              *mem_ctx = NULL;
-	struct rpc_pipe_client  *cli;
+	struct rpc_pipe_client  *cli = NULL;
 	POLICY_HND pol;
 	union dssetup_DsRoleInfo info;
 	union lsa_PolicyInformation *lsa_info = NULL;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list