git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3751ea7
)
Fix a valgrind error
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Mar 2009 10:22:41 +0000
(11:22 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 17 Mar 2009 10:34:29 +0000
(11:34 +0100)
Found in "make test" -- if we can't connect at all, "cli" is uninitialized
source/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_cm.c
b/source/winbindd/winbindd_cm.c
index ddd98c355eb2ce4af4ad41e1ccd1ab447e8035cd..bc3db08f2aa91404a1a485b6a6bf5a6ea9d38289 100644
(file)
--- a/
source/winbindd/winbindd_cm.c
+++ b/
source/winbindd/winbindd_cm.c
@@
-1763,7
+1763,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;