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? -Pieter