Hello All,

If I call nua_handle_make_replaces(), must I free the return pointer?  For
example, here is a code snippet:

sip_replaces_t *replaces_hdr = nua_handle_make_replaces(nh, appl->home,
false); ...
free(replaces_hdr);     /* <<<<<< Is this necessary? <<<<<<< */

The reason I ask is because I'm seeing a memory leak when I repetitively
make calls (thousands) to the phone, and for each call, my code invokes
nua_handle_make_replaces() two times but does not invoke free().

Best Regards,
Jerry


------------------------------------------------------------------------------
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to