summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-03 12:05:13 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-06 14:50:38 +0200
commitd651562aa11db6375b5014d4b255406a1775cbcb (patch)
tree29248e3735ee5720a2749e340b4747b04ef6449e /source3
parent850e47212084482a7ede9d1bc1fe92cc9f297f8f (diff)
downloadsamba-d651562aa11db6375b5014d4b255406a1775cbcb.tar.gz
samba-d651562aa11db6375b5014d4b255406a1775cbcb.tar.bz2
samba-d651562aa11db6375b5014d4b255406a1775cbcb.zip
s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_create*
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smb2cli_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smb2cli_create.c b/source3/libsmb/smb2cli_create.c
index 79a72142ae..4fa782f2ae 100644
--- a/source3/libsmb/smb2cli_create.c
+++ b/source3/libsmb/smb2cli_create.c
@@ -105,7 +105,7 @@ struct tevent_req *smb2cli_create_send(
blob = data_blob_null;
if (blobs != NULL) {
- status = smb2_create_blob_push(talloc_tos(), &blob, *blobs);
+ status = smb2_create_blob_push(state, &blob, *blobs);
if (tevent_req_nterror(req, status)) {
return tevent_req_post(req, ev);
}
@@ -170,7 +170,7 @@ static void smb2cli_create_done(struct tevent_req *subreq)
}
};
- status = smb2cli_req_recv(subreq, talloc_tos(), &iov,
+ status = smb2cli_req_recv(subreq, state, &iov,
expected, ARRAY_SIZE(expected));
if (tevent_req_nterror(req, status)) {
return;