Fixed libldap destructor bug (ITS#2758)

This commit is contained in:
Kurt Zeilenga 2003-12-02 18:31:54 +00:00
parent 997b3b6bd2
commit 27857a84c2
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@ OpenLDAP 2.1.24 Engineering
Fixed slurpd memory leaks (ITS#2423, ITS#2620)
Fixed back-bdb compatibility with BDB 4.2 (ITS#2848)
Fixed lunicode insufficient buffer allocation bug (ITS#2727)
Fixed libldap destructor bug (ITS#2758)
Fixed libldap_r pthread support (ITS#2820)
Fixed slapd berbuf align bugs
Added lutil_passwd extensions

View file

@ -398,6 +398,7 @@ static void
ldap_int_destroy_global_options(void)
{
struct ldapoptions *gopts = LDAP_INT_GLOBAL_OPT();
gopts->ldo_valid = LDAP_UNINITIALIZED;
if ( gopts->ldo_defludp ) {
ldap_free_urllist( gopts->ldo_defludp );