Commit 8e93971d authored by Bob Halley's avatar Bob Halley
Browse files

initialize all common event fields

parent 93e065e7
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment