[Sofaswitch-svn] [commit] r407 - sofaswitch/trunk/voip
Author: derek Date: Sun May 4 17:47:26 2008 New Revision: 407 Modified: sofaswitch/trunk/voip/mymanager.cxx Log: Cure memory leak on exit. Modified: sofaswitch/trunk/voip/mymanager.cxx ============================================================================== --- sofaswitch/trunk/voip/mymanager.cxx (original) +++ sofaswitch/trunk/voip/mymanager.cxx Sun May 4 17:47:26 2008 @@ -108,7 +108,7 @@ nodesMakingCalls.Initialise(); nodesFinishedCalls.Initialise(); - runningComms.SetPreAllocatedSize(10); + runningComms.SetPreAllocatedSize(20); runningComms.Initialise(); } @@ -118,6 +118,7 @@ supervisor.Terminate(); supervisor.WaitForTermination(); delete & supervisor; + delete & runningComms; PTRACE(3, "destroy the manager"); DecMyManager();
participants (1)
-
SofaSWITCH SVN