[vlc-commits] win32: fix leak
Rémi Denis-Courmont
git at videolan.org
Thu Feb 8 20:56:24 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 6 18:55:53 2018 +0200| [9ba043402f0bc5f8f205d9a41f892efbc3882a85] | committer: Rémi Denis-Courmont
win32: fix leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9ba043402f0bc5f8f205d9a41f892efbc3882a85
---
src/win32/netconf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/win32/netconf.c b/src/win32/netconf.c
index 3a6dcda1ea..fe4e03ea91 100644
--- a/src/win32/netconf.c
+++ b/src/win32/netconf.c
@@ -43,6 +43,7 @@ char *vlc_getProxyUrl(const char *psz_url)
vlc_url_t url;
if (vlc_UrlParse(&url, proxy) < 0) {
+ vlc_UrlClean(&url);
free (proxy);
free (proxy_pwd);
return NULL;
More information about the vlc-commits
mailing list