[zeromq-dev] Memory management?

Nishant Mittal nmittal at rblt.com
Wed Apr 10 19:31:07 CEST 2013


when i do..

*zmq_msg_t *message = new zmq_msg_t();*
*zmq_msg_init (message);*
*int size = zmq_msg_recv (message, skt, 0);*
*
*
*char *data = (char *) zmq_msg_data (message);
*
*
*
*zmq_msg_close (message);
*

do I have to free memory pointed by "data" or the zmq_msg_close will clean
it up?

thanks
Nishant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130410/35336863/attachment.htm>


More information about the zeromq-dev mailing list