From 5b8a74590b6d496826a01441e92d9a2a28fccbfc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 29 Apr 2006 22:31:58 +0000 Subject: [PATCH] Fix tpool_shutdown, don't remove pool from list since pool_destroy already does it. --- libraries/libldap_r/tpool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index 31d27b7d36..6564a9ada4 100644 --- a/libraries/libldap_r/tpool.c +++ b/libraries/libldap_r/tpool.c @@ -111,7 +111,6 @@ ldap_int_thread_pool_shutdown ( void ) struct ldap_int_thread_pool_s *pool; while ((pool = LDAP_STAILQ_FIRST(&ldap_int_thread_pool_list)) != NULL) { - LDAP_STAILQ_REMOVE_HEAD(&ldap_int_thread_pool_list, ltp_next); (ldap_pvt_thread_pool_destroy)(&pool, 0); /* ignore thr_debug macro */ } ldap_pvt_thread_mutex_destroy(&ldap_pvt_thread_pool_mutex); -- 2.39.5