mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r15802: merge tridge's fix to the SMB2 server
metze
(This used to be commit 2ea15e9d28
)
This commit is contained in:
parent
f6c9fbbc50
commit
c51dfa7926
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user