Don't set child->requests to NULL in parent after fork
authorBo Yang <boyang@novell.com>
Sat, 10 Jan 2009 22:12:08 +0000 (14:12 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 10 Jan 2009 22:12:08 +0000 (14:12 -0800)
source3/winbindd/winbindd_dual.c

index c1b1efb9f25caa9e48ed8d9cad103503690a5878..9f91153c4a4625e98a3fbf847d3f71795ca6f3c9 100644 (file)
@@ -1243,7 +1243,6 @@ static bool fork_domain_child(struct winbindd_child *child)
                DLIST_ADD(children, child);
                child->event.fd = fdpair[1];
                child->event.flags = 0;
-               child->requests = NULL;
                add_fd_event(&child->event);
                return True;
        }