Thank for you patches, they seem to work fine here. I'm also trying to find and fix some leaks.
I have a problem with OsTimerTask.cpp line 36. OsBSem* OsTimerTask::sLock = new OsBSem(OsBSem::Q_PRIORITY, OsBSem::FULL); there is created an OsBSem object ( actually it is created twice ) but it is never deleted. Because this is a dynamic initializer it is called even before the main(). I'm not sure who owns the semaphore and who should delete it. I'm unable to delete it from the main() because sLock is private. Does every timertask has its own semaphore or is there just one globally?
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
