[Devel] Mediaproxy / function fix_contact

Behr Jean-Luc Jean_Luc.Behr at alcatel-lucent.fr
Thu Jan 4 14:48:49 CET 2007


Hi,

In function fix_contact of module mediaproxy the IP:Port is replaced in the Contact field of the SIP message.
This is done by replacing the pointer "uri.s" of the parsed structure in the message.
The replacement is done thanks to an allocated memory (pkg_malloc).
Usually "uri.s" points inside the message itself.
I don't understand where this memory is freed.
Any idea ?

Thanks,
Jean-Luc




More information about the Devel mailing list