mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 14:19:59 -04:00
initialize all common event fields
This commit is contained in:
parent
93e065e7a6
commit
8e93971d17
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue