From 38c3a3e6ed8615be522ece2978397db4ad9fe23e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 9 May 2006 19:47:14 +0000 Subject: [PATCH] tpool cleanup --- CHANGES | 1 + libraries/libldap_r/tpool.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0f089cdb5e..b3c3c055e2 100644 --- a/CHANGES +++ b/CHANGES @@ -19,6 +19,7 @@ OpenLDAP 2.3.22 Engineering Fixed slurpd potential overflow issue Fixed slapo-translucent modifications Fixed libldap_r thread debug missing break + Fixed libldap_r tpool cleanup OpenLDAP 2.3.21 Release Fixed libldap referral chasing issue (ITS#4448) diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index dde68e8826..c682930aa6 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