mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#9530 ldo_defbase now must be freed in ldap_ld_free()
This commit is contained in:
parent
32e965c271
commit
5452fb154e
1 changed files with 5 additions and 0 deletions
|
|
@ -187,6 +187,11 @@ ldap_ld_free(
|
|||
}
|
||||
#endif
|
||||
|
||||
if ( ld->ld_options.ldo_defbase != NULL ) {
|
||||
LDAP_FREE( ld->ld_options.ldo_defbase );
|
||||
ld->ld_options.ldo_defbase = NULL;
|
||||
}
|
||||
|
||||
#ifdef HAVE_CYRUS_SASL
|
||||
if ( ld->ld_options.ldo_def_sasl_mech != NULL ) {
|
||||
LDAP_FREE( ld->ld_options.ldo_def_sasl_mech );
|
||||
|
|
|
|||
Loading…
Reference in a new issue