From f426057b0d32e25f0799372dfd4ea382591aa917 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Feb 2010 16:08:33 +0100 Subject: [PATCH] Fix IOCHAN destruction A new error was introduced approx 10 minutes ago. --- src/eventl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eventl.c b/src/eventl.c index a343e93..d8d3536 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -265,9 +265,9 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans) { *nextp = p->next; xfree(p); - break; } - nextp = &p->next; + else + nextp = &p->next; } } while (*iochans); -- 1.7.10.4