diff options
author | Volker Lendecke <vl@samba.org> | 2018-04-23 15:36:28 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-04-24 19:41:15 +0200 |
commit | a37d9a45d1ff1b5d311d190a8aac49bc2b2c7a9f (patch) | |
tree | c70e12f1796042b9c42b88145bf08691ff3e6351 /libcli/cldap | |
parent | 4fa8e5671584025d9553cac00210aca7ef62695a (diff) | |
download | samba-a37d9a45d1ff1b5d311d190a8aac49bc2b2c7a9f.tar.gz |
tevent: Fix callers of tevent_req_set_endtime
tevent_req_set_endtime internally already calls tevent_req_nomem and thus sets
the error status correctly.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/cldap')
-rw-r--r-- | libcli/cldap/cldap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c index 242a1173017..daba37a21d7 100644 --- a/libcli/cldap/cldap.c +++ b/libcli/cldap/cldap.c @@ -663,7 +663,6 @@ struct tevent_req *cldap_search_send(TALLOC_CTX *mem_ctx, } if (!tevent_req_set_endtime(req, state->caller.ev, end)) { - tevent_req_oom(req); goto post; } |