Question about queue's reusable message


Sam Wilson <Sam.Wilson@...>
 

Hey all,

I'm tracking down a memory leak in our bridge, and I am trying to
understand why mamaMsg_setMsgBuffer doesn't set the owner flag in the
message. When the queue destroys the reusable message, it doesn't clean
up the payload.

Since there is a comment around line 561 of msg.c
(http://tinyurl.com/msg-c-561) I assume this is intended behaviour. How
should we go about cleaning up the payload in this case?

Thanks,
Sam

Join {Openmama-dev@lists.openmama.org to automatically receive all group messages.