git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e481849
)
tldap: tevent_req_create NULLs out "state"
author
Volker Lendecke
<vl@samba.org>
Tue, 22 Dec 2015 12:44:02 +0000
(13:44 +0100)
committer
Ralph Boehme
<slow@samba.org>
Sun, 10 Jan 2016 21:24:17 +0000
(22:24 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 85d3d478e817ddb2eb750438f685ceaa8764f9ec..9a418dddac82169752e12cdbbe4b7bc07044e4e2 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-719,12
+719,10
@@
static struct tevent_req *tldap_req_create(TALLOC_CTX *mem_ctx,
if (req == NULL) {
return NULL;
}
- ZERO_STRUCTP(state);
state->out = asn1_init(state);
if (state->out == NULL) {
goto err;
}
- state->result = NULL;
state->id = tldap_next_msgid(ld);
if (!asn1_push_tag(state->out, ASN1_SEQUENCE(0))) goto err;