summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-06 14:21:25 +0100
committerVolker Lendecke <vl@samba.org>2008-01-10 13:19:58 +0100
commit3cc3b9e1879d3d9714ac2914364418a140e8389c (patch)
tree3f2ac5521b53d3209df29c8547dc39a07a1e8285 /source3/smbd/trans2.c
parent83b1751615ef3892d44c7826228fbb3b0826d2b2 (diff)
downloadsamba-3cc3b9e1879d3d9714ac2914364418a140e8389c.tar.gz
samba-3cc3b9e1879d3d9714ac2914364418a140e8389c.tar.bz2
samba-3cc3b9e1879d3d9714ac2914364418a140e8389c.zip
use talloc_tos in a few more places
(This used to be commit 65dd869bea351010c67f02046ae4134bdada1a4c)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index ce0b239c4e..bf6802f2a6 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -6193,7 +6193,7 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn,
* non-POSIX opens return SHARING_VIOLATION.
*/
- lck = get_share_mode_lock(NULL, fsp->file_id, NULL, NULL);
+ lck = get_share_mode_lock(talloc_tos(), fsp->file_id, NULL, NULL);
if (lck == NULL) {
DEBUG(0, ("smb_posix_unlink: Could not get share mode "
"lock for file %s\n", fsp->fsp_name));