tevent: Fix CID 1138326 Unchecked return value
authorVolker Lendecke <vl@samba.org>
Sun, 15 Dec 2013 19:40:06 +0000 (20:40 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 17 Dec 2013 00:57:12 +0000 (01:57 +0100)
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>
lib/tevent/tevent_queue.c

index 0c5fe4e88140e5c102e76afc0d66459e6297dfe9..930319c226254fb0c40c023d079a5e5cf79902d7 100644 (file)
@@ -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);
        }