diff options
author | Christopher Davis <chrisd@torproject.org> | 2010-09-08 20:33:21 -0700 |
---|---|---|
committer | Christopher Davis <chrisd@torproject.org> | 2010-09-08 20:33:21 -0700 |
commit | 71b680142120293fb730ac34576c80f63541cd63 (patch) | |
tree | 2e460facf106b83b00a579d0ff6c3854ec38f311 /event.c | |
parent | 3ec65d6984833310ec125a91c88ef8f7654464f4 (diff) | |
download | libevent-71b680142120293fb730ac34576c80f63541cd63.tar.gz |
Don't decrement virutal event count twice in connect_complete.
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2767,6 +2767,7 @@ void event_base_del_virtual(struct event_base *base) { EVBASE_ACQUIRE_LOCK(base, th_base_lock); + EVUTIL_ASSERT(base->virtual_event_count > 0); base->virtual_event_count--; EVBASE_RELEASE_LOCK(base, th_base_lock); } |