Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c1ac8
)
lib: Fixed timeheap bug with ioloop reentrancy.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 31 Dec 2016 20:55:25 +0000
(21:55 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 31 Dec 2016 20:55:25 +0000
(21:55 +0100)
lib/mtio-epoll.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/mtio-epoll.c
b/lib/mtio-epoll.c
index
a0b2f41
..
f4c4970
100644
(file)
--- a/
lib/mtio-epoll.c
+++ b/
lib/mtio-epoll.c
@@
-272,7
+272,6
@@
int ioloop(void)
exitstatus = 0;
epfd = epoll_create(128);
fcntl(epfd, F_SETFD, FD_CLOEXEC);
- bufinit(timeheap);
for(bl = blockers; bl; bl = nbl) {
nbl = bl->n;
if(regfd(bl))
@@
-331,7
+330,6
@@
int ioloop(void)
}
for(bl = blockers; bl; bl = bl->n)
remfd(bl);
- buffree(timeheap);
close(epfd);
epfd = -1;
return(exitstatus);