[sr-dev] CVS:commitlog: sip_router/modules/tm h_table.c
Miklos Tirpak
miklos at iptel.org
Thu Sep 10 18:20:57 CEST 2009
tirpi 2009/09/10 18:20:57 CEST
SER CVS Repository
Modified files:
modules/tm h_table.c
Log:
tm: minor mem leak corrected
(backport from git)
After the memory of a cell is allocated other modules
immediately have a chance to register transaction callbacks,
and they may also allocate additional memory for
the callback parameters. When sip_msg_cloner()
failed, the memory allocated for the callback
list was not freed. This happend only when the available
shm memory was already very low which caused sip_msg_cloner()
to fail.
Revision Changes Path
1.114 +17 -1 sip_router/modules/tm/h_table.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/h_table.c.diff?r1=1.113&r2=1.114
More information about the sr-dev
mailing list