]> git.sur5r.net Git - openldap/commitdiff
We were freeing lud_dn when when lud_host was meant, leading to
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 20 Jul 1999 11:11:57 +0000 (11:11 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 20 Jul 1999 11:11:57 +0000 (11:11 +0000)
arena corruption.

libraries/libldap/url.c

index dfc82209817e8471918779edea5c2ae83954e483..97b01b8aae9e86c699cc8a0d1e13e57caa67a7c6 100644 (file)
@@ -417,7 +417,7 @@ ldap_free_urldesc( LDAPURLDesc *ludp )
        }
        
        if ( ludp->lud_host != NULL ) {
-               LDAP_FREE( ludp->lud_dn );
+               LDAP_FREE( ludp->lud_host );
        }
 
        if ( ludp->lud_dn != NULL ) {