]> granicus.if.org Git - libevent/commitdiff
select: requires reinit (otherwise it leaks signal handlers)
authorAzat Khuzhin <azat@libevent.org>
Sun, 5 Jul 2020 10:16:03 +0000 (13:16 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sun, 5 Jul 2020 10:16:03 +0000 (13:16 +0300)
Fixes: main/fork under SELECT with ASAN
select.c

index 8ae53cc11ec56afa7a81dee8310c17e47350fed1..b1db0e44b605147119d45b34530ffc77461ab21e 100644 (file)
--- 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,
 };