mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
Don't free active thread list
This commit is contained in:
parent
a67c669583
commit
4a6c16b669
1 changed files with 0 additions and 5 deletions
|
|
@ -377,11 +377,6 @@ ldap_pvt_thread_pool_destroy ( ldap_pvt_thread_pool_t *tpool, int run_pending )
|
|||
LDAP_FREE(ctx);
|
||||
}
|
||||
|
||||
while ((ctx = LDAP_SLIST_FIRST(&pool->ltp_active_list)) != NULL)
|
||||
{
|
||||
LDAP_SLIST_REMOVE_HEAD(&pool->ltp_active_list, ltc_next.al);
|
||||
}
|
||||
|
||||
ldap_pvt_thread_cond_destroy(&pool->ltp_cond);
|
||||
ldap_pvt_thread_mutex_destroy(&pool->ltp_mutex);
|
||||
LDAP_FREE(pool);
|
||||
|
|
|
|||
Loading…
Reference in a new issue