]> git.sur5r.net Git - openldap/commitdiff
Fixed libldap destructor bug (ITS#2758)
authorKurt Zeilenga <kurt@openldap.org>
Tue, 2 Dec 2003 18:31:54 +0000 (18:31 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 2 Dec 2003 18:31:54 +0000 (18:31 +0000)
CHANGES
libraries/libldap/init.c

diff --git a/CHANGES b/CHANGES
index 9615798d8486b490f46deadad988ea0d7456fb8b..d2f002797dc5d275063490206b1ffad2d65c2712 100644 (file)
--- 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
index 093cedf32f4f47bbeb537e9a352bb0bcfc981c68..1da41cfbfaa359c291a8469f4fd9bb4a4784ba4c 100644 (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 );