summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-20 03:38:45 +0200
committerMichael Adam <obnox@samba.org>2010-09-21 06:53:30 +0200
commit9bfd587358fb58b98dd0fbdd72069430a89cefc7 (patch)
treeb3d0d6dc4eae6c5a710ca3adbd6b60ea059d96f7 /source3/rpc_server
parent91d5446390dc41b43fe18785a765bbd71ff709c2 (diff)
downloadsamba-9bfd587358fb58b98dd0fbdd72069430a89cefc7.tar.gz
samba-9bfd587358fb58b98dd0fbdd72069430a89cefc7.tar.bz2
samba-9bfd587358fb58b98dd0fbdd72069430a89cefc7.zip
s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_svcctl_nt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c
index e55978c660..74f9d813be 100644
--- a/source3/rpc_server/srv_svcctl_nt.c
+++ b/source3/rpc_server/srv_svcctl_nt.c
@@ -956,8 +956,7 @@ WERROR _svcctl_SetServiceObjectSecurity(struct pipes_struct *p,
/* store the new SD */
- if ( !svcctl_set_secdesc( p->mem_ctx, info->name, sec_desc,
- p->server_info->ptok) )
+ if (!svcctl_set_secdesc(info->name, sec_desc, p->server_info->ptok))
return WERR_ACCESS_DENIED;
return WERR_OK;