mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
ITS#4053 free cldap peer address
This commit is contained in:
parent
33d18bc93d
commit
d918bd4dc0
1 changed files with 7 additions and 0 deletions
|
|
@ -140,6 +140,13 @@ ldap_ld_free(
|
|||
ld->ld_options.ldo_defludp = NULL;
|
||||
}
|
||||
|
||||
#ifdef LDAP_CONNECTIONLESS
|
||||
if ( ld->ld_options.ldo_peer != NULL ) {
|
||||
LDAP_FREE( ld->ld_options.ldo_peer );
|
||||
ld->ld_options.ldo_peer = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( ld->ld_options.ldo_tm_api != NULL ) {
|
||||
LDAP_FREE( ld->ld_options.ldo_tm_api );
|
||||
ld->ld_options.ldo_tm_api = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue