s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[ira/wip.git] / source3 / winbindd / winbindd_dual.c
index daa8d70d790d14fc87b927e962ad706948490542..9f827375448cd397dac747899262ffa2e0c4dfb4 100644 (file)
@@ -1483,7 +1483,7 @@ static bool fork_domain_child(struct winbindd_child *child)
                        child->domain->startup = False;
                }
 
-               pfds = TALLOC_ZERO_P(talloc_tos(), struct pollfd);
+               pfds = talloc_zero(talloc_tos(), struct pollfd);
                if (pfds == NULL) {
                        DEBUG(1, ("talloc failed\n"));
                        _exit(1);