mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
tldap: tevent_req_create NULLs out "state"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
e48184935e
commit
3df9e9c7ae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user