From: Adam Dickmeiss Date: Mon, 22 Feb 2010 15:08:33 +0000 (+0100) Subject: Fix IOCHAN destruction X-Git-Tag: v1.4.0~119 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=f426057b0d32e25f0799372dfd4ea382591aa917;p=pazpar2-moved-to-github.git Fix IOCHAN destruction A new error was introduced approx 10 minutes ago. --- 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);