s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[sfrench/samba-autobuild/.git] / source3 / auth / auth_wbc.c
index 6150040229364bb940827a3ab2c191f5726c3347..1b70042d909730a25b26573c5930e00b9ceb6b42 100644 (file)
@@ -182,7 +182,7 @@ static NTSTATUS auth_init_wbc(struct auth_context *auth_context, const char *par
 {
        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;
        }