This function is declared in the kos/event.h file.
kos/event.h
void KosEventDeinit(KosEvent *event);
This function frees the resources associated with an event (deletes the event).
event