Commit 9ba04340 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

win32: fix leak

parent 58e45886
...@@ -43,6 +43,7 @@ char *vlc_getProxyUrl(const char *psz_url) ...@@ -43,6 +43,7 @@ char *vlc_getProxyUrl(const char *psz_url)
vlc_url_t url; vlc_url_t url;
if (vlc_UrlParse(&url, proxy) < 0) { if (vlc_UrlParse(&url, proxy) < 0) {
vlc_UrlClean(&url);
free (proxy); free (proxy);
free (proxy_pwd); free (proxy_pwd);
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment