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/lib/messaging | |
parent | 8e1b9640e73bf08b161f6e9a3d86ec71708098a4 (diff) | |
download | samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.tar.gz samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.tar.bz2 samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.zip |
Use tevent_req_oom
This fixes a few Coverity errors
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r-- | source4/lib/messaging/messaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 13fc188155..484f22b2ee 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -1178,7 +1178,7 @@ static void irpc_bh_raw_call_incoming_handler(struct irpc_request *irpc, m->ndr->data + m->ndr->offset, m->ndr->data_size - m->ndr->offset); if ((m->ndr->data_size - m->ndr->offset) > 0 && !state->out_data.data) { - tevent_req_nomem(NULL, req); + tevent_req_oom(req); return; } |