s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[metze/samba-autobuild/.git] / source3 / lib / netapi / cm.c
index 4c9bfcb4197efd2e630c1cf97687cd837c3cbb67..3adb97e3575569a9463b065815f9cd5a54c6aabc 100644 (file)
@@ -122,7 +122,7 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
                return WERR_CAN_NOT_COMPLETE;
        }
 
-       p = TALLOC_ZERO_P(ctx, struct client_ipc_connection);
+       p = talloc_zero(ctx, struct client_ipc_connection);
        if (p == NULL) {
                return WERR_NOMEM;
        }