[zeromq-dev] patch: fix malloc/free mismatch in epoll

Martin Sustrik sustrik at fastmq.com
Mon Mar 30 09:47:53 CEST 2009

Martin H.,

> A one liner to fix malloc/free mismatch in epoll.
> Not sure if we should add std::nothrow, we don't seem to be using it.

Can you please check other polling mechanisms for the same problem?

As a side note: I believe Dhammika is right in using new/delete rather 
than malloc/free for fixed-sized objects. So unless there is a good 
reason to use malloc, let's switch to new now.


More information about the zeromq-dev mailing list