From 27857a84c2ffb927d688515a27e318d83e301d42 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 2 Dec 2003 18:31:54 +0000 Subject: [PATCH] Fixed libldap destructor bug (ITS#2758) --- CHANGES | 1 + libraries/libldap/init.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 9615798d84..d2f002797d 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/libraries/libldap/init.c b/libraries/libldap/init.c index 093cedf32f..1da41cfbfa 100644 --- a/libraries/libldap/init.c +++ b/libraries/libldap/init.c @@ -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 ); -- 2.47.2