ldap: Fixed memory leak from commit efb64fdf80
This commit is contained in:
parent
4113ad50e4
commit
f6b168de4c
@ -914,10 +914,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
quit:
|
quit:
|
||||||
#if defined(CURL_LDAP_WIN) && \
|
Curl_safefree(path);
|
||||||
(defined(USE_WIN32_IDN) || defined(USE_WINDOWS_SSPI))
|
|
||||||
Curl_unicodefree(path);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user