From e058e51d63d4a476a1b49941cd8a8611d9164eba Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 4 Jan 2009 09:39:17 +0100 Subject: tevent: completely initialize tevent_fd structs This fixes crash bugs... I forgot to commit and squash this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd metze --- lib/tevent/tevent_aio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tevent/tevent_aio.c') diff --git a/lib/tevent/tevent_aio.c b/lib/tevent/tevent_aio.c index f4ed6d8a5a..b15dab3aaf 100644 --- a/lib/tevent/tevent_aio.c +++ b/lib/tevent/tevent_aio.c @@ -431,6 +431,7 @@ static struct tevent_fd *aio_event_add_fd(struct tevent_context *ev, TALLOC_CTX 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; -- cgit