On 3.3.2010 16:36, Jarod Neuner wrote: > Calls to nua_respond, or any other method that sends or receives a response, > should always be considered an async operation. A reasonable approach would > be to use the memory home associated with that handle (nua_handle_home) to > allocate the data - the data would be automatically released when the handle > is destroyed. If that particular message is generated multiple times for > each handle, use the application pointer (nua_handle_magic) to avoid a memory > leak.
Thank you Jarod for clarification. Using a home seems like a reasonable idea when the stack is not making local copies (which makes me wonder why not). Regards Martin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel