Deallocate a event* returned by event_new().
If the event is pending or active, first make it non-pending and non-active.
See Implementation
Deallocate a event* returned by event_new().
If the event is pending or active, first make it non-pending and non-active.