[zeromq-dev] patch: fix malloc/free mismatch in epoll
Martin Hurton
hurtonm at gmail.com
Mon Mar 30 17:58:41 CEST 2009
On 3/30/09, Martin Sustrik <sustrik at fastmq.com> wrote:
> 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?
sure
>
> 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.
OK, I think this will be more C++ like
- Martin
>
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list