]> git.sur5r.net Git - openldap/commitdiff
tpool cleanup
authorKurt Zeilenga <kurt@openldap.org>
Tue, 9 May 2006 19:47:14 +0000 (19:47 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 9 May 2006 19:47:14 +0000 (19:47 +0000)
CHANGES
libraries/libldap_r/tpool.c

diff --git a/CHANGES b/CHANGES
index 0f089cdb5e1235b251d6c1b3e0cb69b763c895bc..b3c3c055e2fb8b7095721067c9331753c05c3f3f 100644 (file)
--- 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)
index dde68e882609ed2fe3fe093875a8f0f38a10d8e6..c682930aa6d06c8de11f9c127f9247d73c070441 100644 (file)
@@ -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);