}
// build the poll aray
- pollfd* pfd = new pollfd[fdcount]; // make new pollfd array
+ pollfd pfd[fdcount]; // make new pollfd array
for (int i=0; i < nativecount; i++, fd_merged_it++)
{
ret = -1; /* don't assume the timeout has passed when we got a signal */
}
}
- delete [] pfd;
/* when we not processed anything, check timers. */
if (!m_timer_list.empty())