More leak fixes are in the attachment.
wxCommunicator can reinitialize sipxtapi during runtime so they manifest
themselves.

Jaroslav Libak
Index: src/os/OsNatAgentTask.cpp
===================================================================
--- src/os/OsNatAgentTask.cpp   (revision 9091)
+++ src/os/OsNatAgentTask.cpp   (working copy)
@@ -77,7 +77,7 @@
 
     // Clear Timers 
     UtlSListIterator listIterator(mTimerPool);
-    while (pKey = (UtlVoidPtr*)iterator())
+    while (pKey = (UtlVoidPtr*)listIterator())
     {
         OsTimer* pTimer = (OsTimer*) pKey->getValue() ;
         mTimerPool.destroy(pKey) ;        
Index: src/mp/MicThreadWnt.cpp
===================================================================
--- src/mp/MicThreadWnt.cpp     (revision 9091)
+++ src/mp/MicThreadWnt.cpp     (working copy)
@@ -634,6 +634,8 @@
     closeMicDevice() ;    
 
     bRunning = false ;
+    delete DmaMsgPool;
+    delete pMsg;
 
     return 0;
 }
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to