From: Azat Khuzhin Date: Sun, 5 Jul 2020 10:16:03 +0000 (+0300) Subject: select: requires reinit (otherwise it leaks signal handlers) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4edfe6ad174c7c81a6811f763bf56da6c2069fa6;p=libevent select: requires reinit (otherwise it leaks signal handlers) Fixes: main/fork under SELECT with ASAN --- diff --git a/select.c b/select.c index 8ae53cc1..b1db0e44 100644 --- a/select.c +++ b/select.c @@ -98,7 +98,7 @@ const struct eventop selectops = { select_del, select_dispatch, select_dealloc, - 0, /* doesn't need reinit. */ + 1, /* need_reinit. */ EV_FEATURE_FDS, 0, };