From 8e93971d17ce1cbe62ff58dd5507e2c4975d1935 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 18 Dec 1998 02:28:12 +0000 Subject: [PATCH] initialize all common event fields --- lib/isc/task.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/isc/task.c b/lib/isc/task.c index 4d203e1e6d..eb18349e5e 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -108,6 +108,8 @@ event_allocate(isc_memctx_t *mctx, void *sender, isc_eventtype_t type, event->type = type; event->action = action; event->arg = arg; + event->destroy = NULL; + INIT_LINK(event, link); return (event); }