Commit a21cf985 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9530 ldo_defbase now must be freed in ldap_ld_free()

parent e03a00ab
......@@ -192,6 +192,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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment