summaryrefslogtreecommitdiff
path: root/source3/auth/auth_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index d6538b6e10..33c658dd8f 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -452,7 +452,7 @@ static NTSTATUS auth_init_smbserver(struct auth_context *auth_context, const cha
{
struct auth_methods *result;
- result = TALLOC_ZERO_P(auth_context, struct auth_methods);
+ result = talloc_zero(auth_context, struct auth_methods);
if (result == NULL) {
return NT_STATUS_NO_MEMORY;
}