tevent: completely initialize tevent_fd structs
[metze/samba/wip.git] / lib / tevent / tevent_epoll.c
index 023041981f45c1ff73705a6d85993e9cef084f0b..38357743499c44b44f7398ed6e22022072877764 100644 (file)
@@ -389,6 +389,7 @@ static struct tevent_fd *epoll_event_add_fd(struct tevent_context *ev, TALLOC_CT
        fde->fd                 = fd;
        fde->flags              = flags;
        fde->handler            = handler;
+       fde->close_fn           = NULL;
        fde->private_data       = private_data;
        fde->handler_name       = handler_name;
        fde->location           = location;