mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Prevent unlocking unlocked sasl_bindmutex...
This commit is contained in:
parent
d9da0f2bb8
commit
af4cb85d8b
@ -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 New Issue
Block a user