[A better subject line might be "memory pool best practices".]
If I use a pool, is it one pool per call or one pool for all calls? If it's a shared pool, can I reuse the pjsip_generic_string_hdr in it? Does the pool take care of that for me?
If I allocate pjsip_generic_string_hdr myself, when can I free() them? When pjsua_call_make_call() returns? In my on_stream_destroyed callback?
Dave
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org