mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#5518,ITS#5525
This commit is contained in:
parent
124930ff88
commit
78b2f4174a
2 changed files with 6 additions and 0 deletions
1
CHANGES
1
CHANGES
|
|
@ -2,6 +2,7 @@ OpenLDAP 2.3 Change Log
|
|||
|
||||
OpenLDAP 2.3.42 Release (2008/05/15)
|
||||
Fixed libldap file descriptor leak with SELinux (ITS#5507)
|
||||
Fixed libldap ld_defconn cleanup if it was freed (ITS#5518, ITS#5525)
|
||||
Fixed slapd abstract objectClass inheritance check (ITS#5474)
|
||||
Fixed slapd connection handling (ITS#5469)
|
||||
Fixed slapd delta-syncrepl refresh mode (ITS#5376)
|
||||
|
|
|
|||
|
|
@ -601,6 +601,9 @@ ldap_free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind )
|
|||
} else {
|
||||
prevlc->lconn_next = tmplc->lconn_next;
|
||||
}
|
||||
if ( ld->ld_defconn == lc ) {
|
||||
ld->ld_defconn = NULL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
prevlc = tmplc;
|
||||
|
|
@ -631,6 +634,8 @@ ldap_free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind )
|
|||
}
|
||||
if ( lc->lconn_sb != ld->ld_sb ) {
|
||||
ber_sockbuf_free( lc->lconn_sb );
|
||||
} else {
|
||||
ber_int_sb_close( lc->lconn_sb );
|
||||
}
|
||||
if ( lc->lconn_rebind_queue != NULL) {
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue