mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
tldap: Always remove ourselves from ld->pending at cleanup time
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f816ccb8f4
commit
14f6d1996e
@ -529,14 +529,7 @@ static void tldap_msg_unset_pending(struct tevent_req *req)
|
||||
static void tldap_msg_cleanup(struct tevent_req *req,
|
||||
enum tevent_req_state req_state)
|
||||
{
|
||||
switch (req_state) {
|
||||
case TEVENT_REQ_USER_ERROR:
|
||||
case TEVENT_REQ_RECEIVED:
|
||||
tldap_msg_unset_pending(req);
|
||||
return;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
tldap_msg_unset_pending(req);
|
||||
}
|
||||
|
||||
static bool tldap_msg_set_pending(struct tevent_req *req)
|
||||
|
Loading…
Reference in New Issue
Block a user