William Quan writes:

 > Looking for advice on a memory problem in openser v1.2.3.
 > A simple call is canceled, but the memory associated with the 
 > 'msg->diversion->parsed' is leaking (Invite contains a 'Diversion' header).
 > Processing the 487 appears to be running tm callbacks that parse the 
 > message (while allocating memory), which do not later get freed.

will,

i didn't try to interpret your memory debug, but took a look at
diversion header parsing code.  like many other header parsers, it is
using parse_to() function and there is in hf.c/clean_hdr_field()
function case 

                case HDR_DIVERSION_T:
                        free_to(hf->parsed);
                        break;

so i didn't find anything specific to diversion header parsing that
could explain a leak.  it doesn't mean that there couldn't be a problem
somewhere else.

-- juha

_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to