From: Luke Howard Date: Fri, 24 Jan 2003 08:20:55 +0000 (+0000) Subject: Don't free active thread list X-Git-Tag: NO_SLAP_OP_BLOCKS~511 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a6c16b66984f595e45ca43b0cd477d58051d90f;p=openldap Don't free active thread list --- diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index d64888d482..24f83c37d1 100644 --- a/libraries/libldap_r/tpool.c +++ b/libraries/libldap_r/tpool.c @@ -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);