mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Use tevent_req_oom
This fixes a few Coverity errors
This commit is contained in:
committed by
Volker Lendecke
parent
8e1b9640e7
commit
f0ff6f390a
@ -708,7 +708,7 @@ static struct tevent_req *ldapsrv_process_call_send(TALLOC_CTX *mem_ctx,
|
||||
ok = tevent_queue_add(call_queue, ev, req,
|
||||
ldapsrv_process_call_trigger, NULL);
|
||||
if (!ok) {
|
||||
tevent_req_nomem(NULL, req);
|
||||
tevent_req_oom(req);
|
||||
return tevent_req_post(req, ev);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user