From: Pierangelo Masarati Date: Sat, 3 Jul 2010 01:09:17 +0000 (+0000) Subject: cleanup connection release X-Git-Tag: MIGRATION_CVS2GIT~551 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08763f42edb5f94e85e61f6fce58174886ec2625;p=openldap cleanup connection release --- diff --git a/servers/slapd/back-meta/bind.c b/servers/slapd/back-meta/bind.c index 55c088bd6b..8b7b7d4b62 100644 --- a/servers/slapd/back-meta/bind.c +++ b/servers/slapd/back-meta/bind.c @@ -767,8 +767,8 @@ retry_binding:; if ( mc != NULL ) { ldap_pvt_thread_mutex_lock( &mi->mi_conninfo.lai_mutex ); LDAP_BACK_CONN_BINDING_CLEAR( msc ); + meta_back_release_conn_lock( mi, mc, 0 ); ldap_pvt_thread_mutex_unlock( &mi->mi_conninfo.lai_mutex ); - meta_back_release_conn( mi, mc ); } return 0;