]> git.sur5r.net Git - openldap/commitdiff
Fix last commit.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 26 Aug 2002 18:07:58 +0000 (18:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 26 Aug 2002 18:07:58 +0000 (18:07 +0000)
servers/slapd/bind.c

index 6e476a052662a28a0826235e993dcd0c0b08356a..9d8f6ba159786fa900a97ebddd1d28411befb35f 100644 (file)
@@ -575,8 +575,8 @@ do_bind(
 
 cleanup:
        if( conn->c_sasl_bindop != NULL ) {
-               ldap_pvt_thread_mutex_unlock( &conn->c_sasl_bindmutex );
                conn->c_sasl_bindop = NULL;
+               ldap_pvt_thread_mutex_unlock( &conn->c_sasl_bindmutex );
        }
 
        if( pdn.bv_val != NULL ) {