diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-06 20:00:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-06 20:00:53 -0400 |
commit | 1c06985a01230102783ffa1fdc8528f75e48ef4f (patch) | |
tree | d3568d27b38a8a5bd3e9f18c60e7e0f9914217ee | |
parent | e193c959dede9e3d5e8d5f325a87619ca1258643 (diff) | |
download | libevent-1c06985a01230102783ffa1fdc8528f75e48ef4f.tar.gz |
Add an assertion for another of the complaints from coverity. See 1b065d07df196
-rw-r--r-- | event.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |