Fixed memory leaks.

This commit is contained in:
crs
2003-02-16 19:49:44 +00:00
parent 57ba0cb660
commit 3351a66f51
4 changed files with 20 additions and 4 deletions

View File

@@ -97,6 +97,15 @@ CArchMultithreadWindows::CArchMultithreadWindows()
CArchMultithreadWindows::~CArchMultithreadWindows()
{
s_instance = NULL;
// clean up thread list
for (CThreadList::iterator index = m_threadList.begin();
index != m_threadList.end(); ++index) {
delete *index;
}
// done with mutex
delete m_threadMutex;
}
HANDLE