projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix parameters on iochan_destroy_real
[pazpar2-moved-to-github.git]
/
src
/
eventl.c
diff --git
a/src/eventl.c
b/src/eventl.c
index
840b735
..
562587c
100644
(file)
--- 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;
}