summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dssetup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/dssetup')
-rw-r--r--source4/rpc_server/dssetup/dcesrv_dssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dssetup/dcesrv_dssetup.c b/source4/rpc_server/dssetup/dcesrv_dssetup.c
index dd6554b9f7..2be7c684a4 100644
--- a/source4/rpc_server/dssetup/dcesrv_dssetup.c
+++ b/source4/rpc_server/dssetup/dcesrv_dssetup.c
@@ -36,7 +36,7 @@ static WERROR dssetup_DsRoleGetPrimaryDomainInformation(struct dcesrv_call_state
{
union dssetup_DsRoleInfo *info;
- info = talloc_p(mem_ctx, union dssetup_DsRoleInfo);
+ info = talloc(mem_ctx, union dssetup_DsRoleInfo);
W_ERROR_HAVE_NO_MEMORY(info);
switch (r->in.level) {