From f6b168de4cb28337e63d68aaea255416d10f46b0 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 4 Jan 2015 20:33:58 +0000 Subject: ldap: Fixed memory leak from commit efb64fdf80 --- lib/ldap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ldap.c b/lib/ldap.c index 96d8ac78f..cba06e6b2 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -914,10 +914,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp) } quit: -#if defined(CURL_LDAP_WIN) && \ - (defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI)) - Curl_unicodefree(path); -#endif + Curl_safefree(path); return rc; } -- cgit v1.2.3