1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

ldap: Fixed memory leak from commit efb64fdf80

This commit is contained in:
Steve Holme 2015-01-04 20:33:58 +00:00
parent 4113ad50e4
commit f6b168de4c

View File

@ -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;
}