summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-06 16:15:45 +0100
committerVolker Lendecke <vl@samba.org>2008-01-10 13:19:58 +0100
commit5ddb2abf7611a93960056075ea56f992329c3678 (patch)
treea1f088bee5f3ecaf3dd979b54bd587193460ae2c /source3/rpc_server
parent3cc3b9e1879d3d9714ac2914364418a140e8389c (diff)
downloadsamba-5ddb2abf7611a93960056075ea56f992329c3678.tar.gz
samba-5ddb2abf7611a93960056075ea56f992329c3678.tar.bz2
samba-5ddb2abf7611a93960056075ea56f992329c3678.zip
Some more talloc_tos()
(This used to be commit 444e35e7df1f13fc285183da8fb41b30ad99a3fa)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 01e5cf2cda..1b877ee5b4 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -167,7 +167,7 @@ static void enum_file_fn( const struct share_mode_entry *e,
ZERO_STRUCT( fsp );
fsp.file_id = e->id;
- if ( (brl = brl_get_locks(NULL,&fsp)) != NULL ) {
+ if ( (brl = brl_get_locks(talloc_tos(), &fsp)) != NULL ) {
num_locks = brl->num_locks;
TALLOC_FREE(brl);
}