git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tevent: completely initialize tevent_fd structs
[metze/samba/wip.git]
/
lib
/
tevent
/
tevent_epoll.c
diff --git
a/lib/tevent/tevent_epoll.c
b/lib/tevent/tevent_epoll.c
index 023041981f45c1ff73705a6d85993e9cef084f0b..38357743499c44b44f7398ed6e22022072877764 100644
(file)
--- a/
lib/tevent/tevent_epoll.c
+++ b/
lib/tevent/tevent_epoll.c
@@
-389,6
+389,7
@@
static struct tevent_fd *epoll_event_add_fd(struct tevent_context *ev, TALLOC_CT
fde->fd = fd;
fde->flags = flags;
fde->handler = handler;
+ fde->close_fn = NULL;
fde->private_data = private_data;
fde->handler_name = handler_name;
fde->location = location;