s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[ira/wip.git] / source3 / winbindd / winbindd.c
index 8c6d91e6282fa86d94e0bfddbe7ca95a13b20ce8..3d29e3fd51b6ab941c1a11826923b8b6a9ecfc54 100644 (file)
@@ -785,7 +785,7 @@ static void new_connection(int listen_sock, bool privileged)
 
        /* Create new connection structure */
 
-       if ((state = TALLOC_ZERO_P(NULL, struct winbindd_cli_state)) == NULL) {
+       if ((state = talloc_zero(NULL, struct winbindd_cli_state)) == NULL) {
                close(sock);
                return;
        }