[zeromq-dev] free message data when droppped

Pieter Hintjens ph at imatix.com
Sun Oct 21 03:59:35 CEST 2012


On Sat, Oct 20, 2012 at 4:43 PM, Evgeny Turnaev <turnaev.e at gmail.com> wrote:

>   Does a free() function provided as fourth argument to
> int zmq_msg_init_data (zmq_msg_t *msg, void *data, size_t size,
> zmq_free_fn *ffn, void *hint);
> get called when ZMQ_PUSH message gets discarded because of HWM on socket?

It should, yes. If not, that's a bug.

-Pieter



More information about the zeromq-dev mailing list