s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[ira/tdb.git] / source3 / rpc_server / dssetup / srv_dssetup_nt.c
index d90ad421371b95f4f7166eba9d00ba20f0aaa6f7..1cf4ab80746f07f9c0a0402e35e598c03292501a 100644 (file)
@@ -42,7 +42,7 @@ static WERROR fill_dsrole_dominfo_basic(TALLOC_CTX *ctx,
 
        DEBUG(10,("fill_dsrole_dominfo_basic: enter\n"));
 
-       basic = TALLOC_ZERO_P(ctx, struct dssetup_DsRolePrimaryDomInfoBasic);
+       basic = talloc_zero(ctx, struct dssetup_DsRolePrimaryDomInfoBasic);
        if (!basic) {
                DEBUG(0,("fill_dsrole_dominfo_basic: out of memory\n"));
                return WERR_NOMEM;