fix previous commit

This commit is contained in:
Pierangelo Masarati 2005-11-03 20:11:22 +00:00
parent e470116ab3
commit f571f4b2b4

View file

@ -410,10 +410,13 @@ ldap_int_destroy_global_options(void)
WSACleanup( );
#endif
#if defined(LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND) \
|| defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL)
if ( ldap_int_hostname ) {
LDAP_FREE( ldap_int_hostname );
ldap_int_hostname = NULL;
}
#endif
}
/*