s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / winbindd / idmap_adex / domain_util.c
index 4d2b44ff31e47bf68cb0f5a11d5c879d57e410b2..99dc0cca658affd8e69f2e55148e9c28dd5ebfe5 100644 (file)
@@ -71,7 +71,7 @@ static NTSTATUS dc_add_domain(const char *domain)
                return NT_STATUS_OK;
        }
 
-       dc = TALLOC_ZERO_P(NULL, struct dc_info);
+       dc = talloc_zero(NULL, struct dc_info);
        BAIL_ON_PTR_ERROR(dc, nt_status);
 
        dc->dns_name = talloc_strdup(dc, domain);