[Devel] SF.net SVN: openser: [2160] trunk/modules/tm
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon May 7 14:32:44 CEST 2007
Revision: 2160
http://openser.svn.sourceforge.net/openser/?rev=2160&view=rev
Author: bogdan_iancu
Date: 2007-05-07 05:32:43 -0700 (Mon, 07 May 2007)
Log Message:
-----------
- bug fixed: remove the setting of KR (Kill Reason) when generating local
transactions. This was resulting in overwriting the value ( stored in a
gloabl variable) in case of nested transaction processing. Example: receive
a request, build from script the coresponding transaction (T1) and then
use functions (from script) to send local requests via TM (T2).
The result of this overwriting of KR between T1 and T2 was a possible
memeory leak (in some cases), by not automatically freeing the T1
transaction at the script exit.
The leak appeard only in a corner case when there the transaction was
not properly handled from script.
Many thanks to Klaus Darilion <klaus.mailinglists at pernau.at> for report
and extensive testing and help.
Modified Paths:
--------------
trunk/modules/tm/t_cancel.c
trunk/modules/tm/uac.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list