[commit] r10044 - freeswitch/trunk/libs/apr/locks/win32
16 Oct
2008
16 Oct
'08
3:47 p.m.
Author: anthm Date: Thu Oct 16 11:47:45 2008 New Revision: 10044 Modified: freeswitch/trunk/libs/apr/locks/win32/thread_cond.c Log: add patch to fix leak Modified: freeswitch/trunk/libs/apr/locks/win32/thread_cond.c ============================================================================== --- freeswitch/trunk/libs/apr/locks/win32/thread_cond.c (original) +++ freeswitch/trunk/libs/apr/locks/win32/thread_cond.c Thu Oct 16 11:47:45 2008 @@ -37,6 +37,10 @@ (*cond)->event = CreateEvent(NULL, TRUE, FALSE, NULL); (*cond)->signal_all = 0; (*cond)->num_waiting = 0; + + apr_pool_cleanup_register(pool, *cond, thread_cond_cleanup, + apr_pool_cleanup_null); + return APR_SUCCESS; }
6593
Age (days ago)
6593
Last active (days ago)
0 comments
1 participants
participants (1)
-
Freeswitch SVN