s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / registry / reg_util_token.c
index ca0159a6491322dedc7f1c07c3b33f13a7cc6e65..d599b3a33dd073ae8eeb99ad87776ad7396f0784 100644 (file)
@@ -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;