summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-22 14:14:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:24 -0500
commitc51dfa7926c7c961605e341b34c01ec744b60e39 (patch)
tree74f8e5ad1cd3a1a125eb9253fd0f618c39db3d31 /source4/smb_server/smb2
parentf6c9fbbc50ae700a154c9bab7f0942af0141e8ed (diff)
downloadsamba-c51dfa7926c7c961605e341b34c01ec744b60e39.tar.gz
samba-c51dfa7926c7c961605e341b34c01ec744b60e39.tar.bz2
samba-c51dfa7926c7c961605e341b34c01ec744b60e39.zip
r15802: merge tridge's fix to the SMB2 server
metze (This used to be commit 2ea15e9d28bca358989a565576ea7e8d9462e924)
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r--source4/smb_server/smb2/smb2_server.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/smb_server/smb2/smb2_server.h b/source4/smb_server/smb2/smb2_server.h
index 6eea4e7e05..4f4e769940 100644
--- a/source4/smb_server/smb2/smb2_server.h
+++ b/source4/smb_server/smb2/smb2_server.h
@@ -108,10 +108,7 @@ struct smbsrv_request;
smb2srv_send_error(req, NT_STATUS_NO_MEMORY); \
return; \
} \
- if (!talloc_reference(req->ntvfs, req)) { \
- smb2srv_send_error(req, NT_STATUS_NO_MEMORY); \
- return; \
- } \
+ talloc_steal(req->tcon->ntvfs, req); \
req->ntvfs->frontend_data.private_data = req; \
} while (0)