Fix previous unbind fix.

This commit is contained in:
Kurt Zeilenga 2001-11-13 19:27:27 +00:00
parent 0970abefe8
commit 8e7214249d

View file

@ -128,6 +128,7 @@ ldap_ld_free(
ld->ld_options.ldo_tm_net = NULL;
}
#ifdef HAVE_CYRUS_SASL
if ( ld->ld_options.ldo_def_sasl_mech != NULL ) {
LDAP_FREE( ld->ld_options.ldo_def_sasl_mech );
ld->ld_options.ldo_def_sasl_mech = NULL;
@ -147,6 +148,7 @@ ldap_ld_free(
LDAP_FREE( ld->ld_options.ldo_def_sasl_authzid );
ld->ld_options.ldo_def_sasl_authzid = NULL;
}
#endif
ber_sockbuf_free( ld->ld_sb );