From: Kurt Zeilenga Date: Tue, 6 Apr 1999 03:23:40 +0000 (+0000) Subject: Don't hide the unlock fix behind SLAP_CLEANUP... X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~239 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33dae09abd3b9d59104eee58960dfc11508e98f4;p=openldap Don't hide the unlock fix behind SLAP_CLEANUP... --- 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 );