mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
Fix eventfd leak in uev_event_init()
uev_event_init() leaks its eventfd, and leaves it in the watcher, when the watcher cannot be added to the event loop. Close it and reset the descriptor in the watcher.
This commit is contained in:
1 parent
ae28276f3f
commit
4792b988a1
4 files changed
+46
-2
No files matched your search
@@ -5,6 +5,7 @@ api
|
||||
complete
|
||||
cronrun
|
||||
cronstart
|
||||
error
|
||||
io
|
||||
signal
|
||||
stdin
|
||||
|
||||
Reference in new issue
Block a user