diff options
author | Volker Lendecke <vl@samba.org> | 2013-12-15 20:40:06 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-12-17 01:57:12 +0100 |
commit | 91ef262c633aebd0da8ab7c4b51e2aa9d55b7ddb (patch) | |
tree | 91ab6ed0dfd35730a10b79df76c0c884d7b52e7f /lib/tevent/tevent_queue.c | |
parent | c943937ec69f6547533f34ae83a268960395b521 (diff) | |
download | samba-91ef262c633aebd0da8ab7c4b51e2aa9d55b7ddb.tar.gz |
tevent: Fix CID 1138326 Unchecked return value
For this case we explicitly have added tevent_req_oom
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/tevent/tevent_queue.c')
-rw-r--r-- | lib/tevent/tevent_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent_queue.c b/lib/tevent/tevent_queue.c index 0c5fe4e8814..930319c2262 100644 --- a/lib/tevent/tevent_queue.c +++ b/lib/tevent/tevent_queue.c @@ -325,7 +325,7 @@ struct tevent_req *tevent_queue_wait_send(TALLOC_CTX *mem_ctx, tevent_queue_wait_trigger, NULL); if (!ok) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } |