git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c943937
)
tevent: Fix CID 1138326 Unchecked return value
author
Volker Lendecke
<vl@samba.org>
Sun, 15 Dec 2013 19:40:06 +0000
(20:40 +0100)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/lib/tevent/tevent_queue.c
b/lib/tevent/tevent_queue.c
index 0c5fe4e88140e5c102e76afc0d66459e6297dfe9..930319c226254fb0c40c023d079a5e5cf79902d7 100644
(file)
--- 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);
}