[Kamailio-Users] openser 1.3.3 domain module

Juha Heinanen jh at tutpro.com
Tue Oct 7 20:17:12 CEST 2008


toly writes:

 > In domain module, command is_domain_local - using parameter_fixup where
 > there is a call pkg_malloc, 
 > but nowhere function free_fixup is used. 
 > This will be memory leak, or I'm missing something.

for completeness, memory for the parameter should indeed be freed when
openser terminates.  this is handled automatically by
fixup_free_pvar_null function in kamaili 1.4.  it is not a big deal to
not free the memory at termination, because it is needed until that
point.

-- juha




More information about the sr-users mailing list