From: Dennis Schafroth Date: Wed, 6 Apr 2011 08:10:25 +0000 (+0200) Subject: Fix parameters on iochan_destroy_real X-Git-Tag: v1.5.6~7^2~1 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=846689d992d2183563cba6aa5f52f60dc8b14ab4;p=pazpar2-moved-to-github.git Fix parameters on iochan_destroy_real --- 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; }