diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-17 11:22:41 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-17 11:32:23 +0100 |
commit | 7735650f2ed74a72ddee272baf281e3fd9e7c42b (patch) | |
tree | 823b2e6ee428d4f7909720b172f7ff8daf34e2ed | |
parent | 0e2139c6936b28015a8a2a539810c2bd7821d36f (diff) | |
download | samba-7735650f2ed74a72ddee272baf281e3fd9e7c42b.tar.gz samba-7735650f2ed74a72ddee272baf281e3fd9e7c42b.tar.bz2 samba-7735650f2ed74a72ddee272baf281e3fd9e7c42b.zip |
Fix a valgrind error
Found in "make test" -- if we can't connect at all, "cli" is uninitialized
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index e06e30e0a8..d595f80b49 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; |