From 463a7ec91deb32259fa09431f4e86ebe8928413a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Tue, 20 Jul 1999 11:11:57 +0000 Subject: [PATCH] We were freeing lud_dn when when lud_host was meant, leading to arena corruption. --- libraries/libldap/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5