summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-10 17:09:11 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-10 17:11:14 +0200
commit957876e76c6e11fc6641107a2c0dc4440be5791d (patch)
treeda04df029d4e76e7241b161ac3d916a64e2bc78c /source3
parentfd240b546ea3152d16299524aa0dcb184202354a (diff)
downloadsamba-957876e76c6e11fc6641107a2c0dc4440be5791d.tar.gz
samba-957876e76c6e11fc6641107a2c0dc4440be5791d.tar.bz2
samba-957876e76c6e11fc6641107a2c0dc4440be5791d.zip
s3:smb2cli_tcon: use tevent_req_oom()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smb2cli_tcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c
index 46d787e161..eca2617998 100644
--- a/source3/libsmb/smb2cli_tcon.c
+++ b/source3/libsmb/smb2cli_tcon.c
@@ -61,7 +61,7 @@ struct tevent_req *smb2cli_tcon_send(TALLOC_CTX *mem_ctx,
if (!convert_string_talloc(state, CH_UNIX, CH_UTF16,
tcon_share, talloc_get_size(tcon_share),
&dyn, &dyn_len)) {
- tevent_req_nomem(NULL, req);
+ tevent_req_oom(req);
return tevent_req_post(req, ev);
}