[zeromq-dev] Memory Leak using 0MQ 3.0.2

Benoit Laplante benoit.laplante at scigilian.com
Tue Nov 1 15:16:30 CET 2011


Yes, no leak, no crash.

Thank you Martin

On Tue, Nov 1, 2011 at 4:05 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111101/145f3adf/attachment.htm>


More information about the zeromq-dev mailing list