summaryrefslogtreecommitdiffstats
path: root/source3/registry/reg_util_token.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_util_token.c')
-rw-r--r--source3/registry/reg_util_token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_util_token.c b/source3/registry/reg_util_token.c
index ca0159a649..d599b3a33d 100644
--- a/source3/registry/reg_util_token.c
+++ b/source3/registry/reg_util_token.c
@@ -38,7 +38,7 @@ NTSTATUS registry_create_admin_token(TALLOC_CTX *mem_ctx,
return NT_STATUS_INVALID_PARAMETER;
}
- token = TALLOC_ZERO_P(mem_ctx, struct security_token);
+ token = talloc_zero(mem_ctx, struct security_token);
if (token == NULL) {
DEBUG(1, ("talloc failed\n"));
status = NT_STATUS_NO_MEMORY;