summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-06-19 21:10:01 +0200
committerVolker Lendecke <vlendec@samba.org>2011-06-20 12:33:24 +0200
commitf0ff6f390a14b0da8466096c0886f5c4860b977f (patch)
treee359c3be54f1e7ca8e4125706ec6e6194f956214 /source4/kdc
parent8e1b9640e73bf08b161f6e9a3d86ec71708098a4 (diff)
downloadsamba-f0ff6f390a14b0da8466096c0886f5c4860b977f.tar.gz
samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.tar.bz2
samba-f0ff6f390a14b0da8466096c0886f5c4860b977f.zip
Use tevent_req_oom
This fixes a few Coverity errors
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/proxy.c b/source4/kdc/proxy.c
index 98db956f65..324bfb8e2e 100644
--- a/source4/kdc/proxy.c
+++ b/source4/kdc/proxy.c
@@ -556,7 +556,7 @@ static void kdc_tcp_proxy_read_pdu_done(struct tevent_req *subreq)
*/
state->out = data_blob_talloc(state, raw.data + 4, raw.length - 4);
if (state->out.length != raw.length - 4) {
- tevent_req_nomem(NULL, req);
+ tevent_req_oom(req);
return;
}