s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[metze/samba-autobuild/.git] / source3 / lib / messages.c
index 932d47838d9e0414c83a123cc262a3b122024409..76c1090b8194282fc99473a58f4e79db97aedb8f 100644 (file)
@@ -184,7 +184,7 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx,
        struct messaging_context *ctx;
        NTSTATUS status;
 
-       if (!(ctx = TALLOC_ZERO_P(mem_ctx, struct messaging_context))) {
+       if (!(ctx = talloc_zero(mem_ctx, struct messaging_context))) {
                return NULL;
        }