mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Unlock mutexes before deleting them
This commit is contained in:
parent
a8d7ae54b9
commit
c199d41b18
1 changed files with 2 additions and 0 deletions
|
|
@ -330,6 +330,8 @@ rewrite_session_delete(
|
|||
rewrite_var_delete( session->ls_vars );
|
||||
|
||||
#ifdef USE_REWRITE_LDAP_PVT_THREADS
|
||||
ldap_pvt_thread_rdwr_wunlock( &session->ls_vars_mutex );
|
||||
ldap_pvt_thread_mutex_unlock( &session->ls_mutex );
|
||||
ldap_pvt_thread_rdwr_destroy( &session->ls_vars_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &session->ls_mutex );
|
||||
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
|
||||
|
|
|
|||
Loading…
Reference in a new issue