From: Julio Sánchez Fernández Date: Tue, 20 Jul 1999 11:11:57 +0000 (+0000) Subject: We were freeing lud_dn when when lud_host was meant, leading to X-Git-Tag: OPENLDAP_REL_ENG_2_BP~83 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=463a7ec91deb32259fa09431f4e86ebe8928413a;p=openldap We were freeing lud_dn when when lud_host was meant, leading to arena corruption. --- diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index dfc8220981..97b01b8aae 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -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 ) {