]> git.sur5r.net Git - openldap/commitdiff
Don't hide the unlock fix behind SLAP_CLEANUP...
authorKurt Zeilenga <kurt@openldap.org>
Tue, 6 Apr 1999 03:23:40 +0000 (03:23 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 6 Apr 1999 03:23:40 +0000 (03:23 +0000)
libraries/libldap_r/rdwr.c

index 34b2253cd6ef9be241dc981885632395d3a19a42..128bb16556702516c92083d8a5740fa99e5a7890 100644 (file)
@@ -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 );