On 12/14/2011 09:57 PM, Calvin de Vries wrote: > Would this be different than simply using a NULL free function in > zmq_msg_init_data?
If there's NULL, the data won't be deallocated. Ever. So you can use it only with static buffers. What is being discussed here is reference counting. I.e. deallocating the data after all the references are dropped. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
