mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-19 09:15:34 -04:00
Add an assertion for another of the complaints from coverity. See 1b065d07df196
This commit is contained in:
parent
e193c959de
commit
1c06985a01
1
event.c
1
event.c
@ -1539,6 +1539,7 @@ event_process_active_single_queue(struct event_base *base,
|
||||
case EV_CLOSURE_EVENT_FINALIZE:
|
||||
case EV_CLOSURE_EVENT_FINALIZE_FREE:
|
||||
base->current_event = NULL;
|
||||
EVUTIL_ASSERT(ev != NULL);
|
||||
EVUTIL_ASSERT((evcb->evcb_flags & EVLIST_FINALIZING));
|
||||
EVBASE_RELEASE_LOCK(base, th_base_lock);
|
||||
ev->ev_evcallback.evcb_cb_union.evcb_evfinalize(ev, ev->ev_arg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user