--- libev/ev_select.c 2009/07/10 19:10:19 1.45 +++ libev/ev_select.c 2009/07/19 04:06:13 1.46 @@ -282,9 +282,12 @@ #else vec_max = 0; vec_ri = 0; - vec_ri = 0; - vec_wo = 0; + vec_ro = 0; + vec_wi = 0; vec_wo = 0; + #ifdef _WIN32 + vec_eo = 0; + #endif #endif return EVBACKEND_SELECT; @@ -297,6 +300,9 @@ ev_free (vec_ro); ev_free (vec_wi); ev_free (vec_wo); + #ifdef _WIN32 + ev_free (vec_eo); + #endif }