summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-12-22 13:44:02 +0100
committerRalph Boehme <slow@samba.org>2016-01-10 22:24:17 +0100
commit3df9e9c7aeb95ee5f5292c35bf0628b51b32b8b1 (patch)
tree3585bda01ff90fa3390358a0e5971f8438499d3a /source3/lib
parente48184935e1f4c6a3876a054ed4031b23ed0df7a (diff)
downloadsamba-3df9e9c7aeb95ee5f5292c35bf0628b51b32b8b1.tar.gz
tldap: tevent_req_create NULLs out "state"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/tldap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 85d3d478e81..9a418dddac8 100644
--- 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;