mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Don't hide the unlock fix behind SLAP_CLEANUP...
This commit is contained in:
parent
d9d11a315f
commit
33dae09abd
1 changed files with 1 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue