mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#9530 ldo_defbase now must be freed in ldap_ld_free()
This commit is contained in:
parent
87397b345b
commit
edfc4e7ffe
1 changed files with 5 additions and 0 deletions
|
|
@ -192,6 +192,11 @@ ldap_ld_free(
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
#ifdef HAVE_CYRUS_SASL
|
||||||
if ( ld->ld_options.ldo_def_sasl_mech != NULL ) {
|
if ( ld->ld_options.ldo_def_sasl_mech != NULL ) {
|
||||||
LDAP_FREE( ld->ld_options.ldo_def_sasl_mech );
|
LDAP_FREE( ld->ld_options.ldo_def_sasl_mech );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue