[Devel] Mediaproxy / function fix_contact

Dan Pascu dan at ag-projects.com
Thu Jan 4 19:00:27 CET 2007


On Thursday 04 January 2007 19:22, Behr Jean-Luc wrote:
> Yes I agree.
> But the function "fix_contact" is called to change the contact (IP
> address and port) that will be stored in the registrar. This storing is
> processed in the function "save" of the module registrar. And there the
> lump is not used !

Even if they're not being used to build a new outgoing request, the lumps 
are freed when the request is destroyed.

> The contact is taken from the message itself. In fact in the parsed
> structure. So to modify the contact the function "fix_contact" modifies
> the parsed structure by using an allocated memory. And I don't find the
> place where this memory is freed.
>
> Thanks
> Jean-Luc

-- 
Dan



More information about the Devel mailing list