s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[ira/wip.git] / source3 / utils / net_rpc_registry.c
index 77b15a45c7b4d5395f4b5959d18a611b916c4a91..929273dd79e9684b1149cd9f0d027560c917a35d 100644 (file)
@@ -1451,7 +1451,7 @@ static NTSTATUS rpc_registry_getsd_internal(struct net_context *c,
                return status;
        }
 
-       sd = TALLOC_ZERO_P(mem_ctx, struct KeySecurityData);
+       sd = talloc_zero(mem_ctx, struct KeySecurityData);
        if (!sd) {
                status = NT_STATUS_NO_MEMORY;
                goto out;