[zeromq-dev] pub sub memory leak problem
starkdg at comcast.net
Thu Aug 5 19:20:05 CEST 2010
Here's a simpler test case:
I reduce it to one topic message and then a message that is just a char.
The new log file is attached as well. Or you might just try it in
valgrind. Start the testpub.c program first, then the testsub.c
program. Then just hit enter on the testpub program to emit one
published message. The testsub will finish from there.
On Thu, 2010-08-05 at 19:02 +0200, Pieter Hintjens wrote:
> On Thu, Aug 5, 2010 at 6:50 PM, Matt Weinstein <matt_weinstein at yahoo.com> wrote:
> > missing free_fn for zmq_msg_init_data?
> Nope, it's using static data plus the memory leak is in the
> subscriber, presumably.
> David, the code looks fine. Can you reduce this to the simplest possible
> case that demonstrates a memory leak?
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
More information about the zeromq-dev