Fixed a memory leak on windows threads implementation. The CRITICAL_SECTION was not being free'd in evthread_win32_lock_free().

This commit is contained in:
Jardel Weyrich 2010-01-01 04:13:05 -02:00 committed by Nick Mathewson
parent 66c02c7826
commit 2f33e00af3

View File

@ -53,6 +53,7 @@ evthread_win32_lock_free(void *_lock, unsigned locktype)
{
CRITICAL_SECTION *lock = _lock;
DeleteCriticalSection(lock);
mm_free(lock);
}
static int