diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-19 21:10:01 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-06-20 12:33:24 +0200 |
commit | f0ff6f390a14b0da8466096c0886f5c4860b977f (patch) | |
tree | e359c3be54f1e7ca8e4125706ec6e6194f956214 /source4/libcli/wrepl/winsrepl.c | |
parent | 8e1b9640e73bf08b161f6e9a3d86ec71708098a4 (diff) | |
download | samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.tar.gz |
Use tevent_req_oom
This fixes a few Coverity errors
Diffstat (limited to 'source4/libcli/wrepl/winsrepl.c')
-rw-r--r-- | source4/libcli/wrepl/winsrepl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c index 72c040d3a16..c7f1ad07cb8 100644 --- a/source4/libcli/wrepl/winsrepl.c +++ b/source4/libcli/wrepl/winsrepl.c @@ -201,7 +201,7 @@ struct tevent_req *wrepl_connect_send(TALLOC_CTX *mem_ctx, wrepl_connect_trigger, NULL); if (!ok) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } @@ -382,7 +382,7 @@ struct tevent_req *wrepl_request_send(TALLOC_CTX *mem_ctx, wrepl_request_trigger, NULL); if (!ok) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return tevent_req_post(req, ev); } |