From 846689d992d2183563cba6aa5f52f60dc8b14ab4 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 6 Apr 2011 10:10:25 +0200 Subject: [PATCH] Fix parameters on iochan_destroy_real --- src/eventl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eventl.c b/src/eventl.c index 840b735..562587c 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -336,7 +336,7 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans) { for (nextp = iochans; *nextp;) { IOCHAN p = *nextp; if (p->destroyed && p->thread_users == 0) { - *nextp = iochan_destroy_real(nextp); + *nextp = iochan_destroy_real(*nextp); } else nextp = &p->next; } -- 1.7.10.4