[zeromq-dev] Memory Leak using 0MQ 3.0.2

Martin Sustrik sustrik at 250bpm.com
Mon Oct 31 20:46:25 CET 2011


On 10/31/2011 04:21 PM, Benoit Laplante wrote:

> I detected a small memory leak (76 bytes) when a socket identity is
> greater than 29 chars on a DEALER socket.

Try adding following line at zmq_init.cpp:114:

     msg_->close();

Let me know whether it helps.

Martin




More information about the zeromq-dev mailing list