add patch to fix leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10044 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c7ca7cc5ea
commit
853ecf075b
|
@ -37,6 +37,10 @@ APR_DECLARE(apr_status_t) apr_thread_cond_create(apr_thread_cond_t **cond,
|
|||
(*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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue