summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-17 11:22:41 +0100
committerVolker Lendecke <vl@samba.org>2009-03-17 11:32:23 +0100
commit7735650f2ed74a72ddee272baf281e3fd9e7c42b (patch)
tree823b2e6ee428d4f7909720b172f7ff8daf34e2ed /source3/winbindd
parent0e2139c6936b28015a8a2a539810c2bd7821d36f (diff)
downloadsamba-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
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c2
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;