mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
initialize all common event fields
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user