[zeromq-dev] pub sub memory leak problem

Matt Weinstein matt_weinstein at yahoo.com
Thu Aug 5 18:50:51 CEST 2010


missing free_fn for zmq_msg_init_data?

On Aug 5, 2010, at 12:15 PM, david starkweather wrote:

> Hello,
>
> I have a memory leak in an application I am developing here.  The
> application uses the pub/sub model using zeromq.  I have managed to
> replicate the error in a simple test case in the link below.   
> Perhaps I
> am not closing the messages properly, or doing proper cleanup.  But I
> think I am.
>
> The code in the link below details the publisher program first, then  
> the
> subscriber program i am using.  I outfitted the latter with dmalloc  
> and
> then included the logfile from dmalloc at the end.  The log file
> includes one published message.
>
> http://pastebin.com/DHaPNWQ5
>
> thanks.
> dgs
>
>
>
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> 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