diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-04 20:33:58 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-04 20:33:58 +0000 |
commit | f6b168de4cb28337e63d68aaea255416d10f46b0 (patch) | |
tree | 35ecbad9bc0f4e241f10f9dda86a55133b8dec78 | |
parent | 4113ad50e437d78e9818aa17f816c06c38f0a458 (diff) |
ldap: Fixed memory leak from commit efb64fdf80
-rw-r--r-- | lib/ldap.c | 5 |
1 files changed, 1 insertions, 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; } |