fix previous commit: actually free the connection in case of failed bind

This commit is contained in:
Pierangelo Masarati 2006-03-25 01:12:27 +00:00
parent fd5208c18f
commit 1418b2c5b1

View file

@ -113,7 +113,7 @@ done:;
|| ( LDAP_BACK_CONN_ISBOUND( lc )
&& !dn_match( &op->o_req_ndn, &lc->lc_local_ndn ) ) )
{
int lerr = 0;
int lerr = -1;
/* wait for all other ops to release the connection */
retry_lock:;