mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Prevent unlocking unlocked sasl_bindmutex...
This commit is contained in:
parent
d9da0f2bb8
commit
af4cb85d8b
1 changed files with 4 additions and 2 deletions
|
|
@ -574,8 +574,10 @@ do_bind(
|
|||
}
|
||||
|
||||
cleanup:
|
||||
conn->c_sasl_bindop = NULL;
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_sasl_bindmutex );
|
||||
if( conn->c_sasl_bindop != NULL ) {
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_sasl_bindmutex );
|
||||
conn->c_sasl_bindop = NULL;
|
||||
}
|
||||
|
||||
if( pdn.bv_val != NULL ) {
|
||||
free( pdn.bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue