Permalink
Browse files

Just in case...

  • Loading branch information...
1 parent 4d8b98a commit 0491a2cd5445fc6944fad20e01d8a49984e17e66 @gonzalop gonzalop committed Mar 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 mono/metadata/tpool-kqueue.c
@@ -47,6 +47,7 @@ tp_kqueue_modify (gpointer event_data, int fd, int operation, int events, gboole
tp_kqueue_data *data = event_data;
struct kevent evt;
+ memset (&evt, 0, sizeof (evt));
if ((events & MONO_POLLIN) != 0) {
EV_SET (&evt, fd, EVFILT_READ, EV_ADD | EV_ENABLE | EV_ONESHOT, 0, 0, 0);
kevent_change (data->fd, &evt, "ADD read");

0 comments on commit 0491a2c

Please sign in to comment.