From 33dae09abd3b9d59104eee58960dfc11508e98f4 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 6 Apr 1999 03:23:40 +0000 Subject: [PATCH] Don't hide the unlock fix behind SLAP_CLEANUP... --- libraries/libldap_r/rdwr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/libldap_r/rdwr.c b/libraries/libldap_r/rdwr.c index 34b2253cd6..128bb16556 100644 --- a/libraries/libldap_r/rdwr.c +++ b/libraries/libldap_r/rdwr.c @@ -60,9 +60,8 @@ ldap_pvt_thread_rdwr_destroy( ldap_pvt_thread_rdwr_t *rw ) rw->ltrw_valid = 0; -#ifdef SLAP_CLEANUP ldap_pvt_thread_mutex_unlock( &rw->ltrw_mutex ); -#endif + ldap_pvt_thread_mutex_destroy( &rw->ltrw_mutex ); ldap_pvt_thread_cond_destroy( &rw->ltrw_read ); ldap_pvt_thread_cond_destroy( &rw->ltrw_write ); -- 2.39.5