Skip to content
Snippets Groups Projects
Commit af4cb85d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Prevent unlocking unlocked sasl_bindmutex...

parent d9da0f2b
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment