git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd240b5
)
s3:smb2cli_tcon: use tevent_req_oom()
author
Stefan Metzmacher
<metze@samba.org>
Sun, 10 Jul 2011 15:09:11 +0000
(17:09 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sun, 10 Jul 2011 15:11:14 +0000
(17:11 +0200)
metze
source3/libsmb/smb2cli_tcon.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/smb2cli_tcon.c
b/source3/libsmb/smb2cli_tcon.c
index 46d787e161bed2a7a14b6625123d9edfe1dd68c6..eca2617998172a91d3eb824e1c4a3128fbe63561 100644
(file)
--- 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);
}