fix timerfd release
This commit is contained in:
1 parent
51f72f8c09
commit
001414baa4
1 file changed
+1
-1
@@ -141,7 +141,7 @@ int owd_platform_el_add_timer(
|
|||||||
if ((res = el_epoll_add(el, e, tfd, OWD_EVENT_SOURCE_TIMER, EPOLLIN, true)))
|
if ((res = el_epoll_add(el, e, tfd, OWD_EVENT_SOURCE_TIMER, EPOLLIN, true)))
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
FD_RELEASE(tfd);
|
FD_RELEASE(&tfd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user