]> granicus.if.org Git - libevent/commitdiff
Fixed a memory leak on windows threads implementation. The CRITICAL_SECTION was not...
authorJardel Weyrich <jweyrich@gmail.com>
Fri, 1 Jan 2010 06:13:05 +0000 (04:13 -0200)
committerNick Mathewson <nickm@torproject.org>
Sat, 9 Jan 2010 04:26:01 +0000 (23:26 -0500)
evthread_win32.c

index ad055107a471592854f0dc3b9513e0bee7163292..995e0e151fa15f3c5c46f74da10b81ef4472516e 100644 (file)
@@ -53,6 +53,7 @@ evthread_win32_lock_free(void *_lock, unsigned locktype)
 {
        CRITICAL_SECTION *lock = _lock;
        DeleteCriticalSection(lock);
+       mm_free(lock);
 }
 
 static int