[zeromq-dev] Memory Leak using 0MQ 3.0.2
Martin Sustrik
sustrik at 250bpm.com
Tue Nov 1 09:05:07 CET 2011
On 10/31/2011 09:30 PM, Benoit Laplante wrote:
> Yes it helps with my tests using DEALER <=> ROUTER pattern (broker) but
> it crashes, on destruction, of my tests using the PUSH <=> PULL pattern
> (fan) with this assert
> /Bad address/
> /rc == 0 (..\..\..\src\decoder.cpp:44)/
Ok, try adding following two lines at zmq_init.cpp:114:
msg_->close();
msg_->init ();
Martin
More information about the zeromq-dev
mailing list