1
0
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:
Volker Lendecke
2011-06-19 21:10:01 +02:00
committed by Volker Lendecke
parent 8e1b9640e7
commit f0ff6f390a
15 changed files with 25 additions and 25 deletions

View File

@ -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);
}