From 4a6c16b66984f595e45ca43b0cd477d58051d90f Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 24 Jan 2003 08:20:55 +0000 Subject: [PATCH] Don't free active thread list --- libraries/libldap_r/tpool.c | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.39.5