s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[amitay/samba.git] / source3 / winbindd / idmap_rid.c
index 8bb63fd534acddb5878e968925df221881df47b2..edc5e1677405ceb8a2d62341d1a9db99c0b3820e 100644 (file)
@@ -41,7 +41,7 @@ static NTSTATUS idmap_rid_initialize(struct idmap_domain *dom)
        struct idmap_rid_context *ctx;
        char *config_option = NULL;
 
-       ctx = TALLOC_ZERO_P(dom, struct idmap_rid_context);
+       ctx = talloc_zero(dom, struct idmap_rid_context);
        if (ctx == NULL) {
                DEBUG(0, ("Out of memory!\n"));
                return NT_STATUS_NO_MEMORY;