From 866148810e94504c1e91807c819102d86c8f8375 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 9 Sep 2005 02:37:38 +0000 Subject: [PATCH] release resources (ITS#4016) --- servers/slapd/back-ldap/bind.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 5f6960abed..e94fc9c483 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -741,6 +741,9 @@ retry:; rc = ldap_back_op_result( lc, op, rs, msgid, sendok ); if ( rc == LDAP_SUCCESS ) { lc->lc_bound = 1; + + } else { + ldap_back_release_conn( op, rs, lc ); } } -- 2.39.5