[vlc-commits] Win32: fix double-free in vlc_idna_to_ascii

Jean-Baptiste Kempf git at videolan.org
Thu Feb 28 18:12:25 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 28 18:11:45 2013 +0100| [d09b6f756f1f6fa0831168d7608007c10dff0208] | committer: Jean-Baptiste Kempf

Win32: fix double-free in vlc_idna_to_ascii

Close #8254

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d09b6f756f1f6fa0831168d7608007c10dff0208
---

 src/text/url.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/text/url.c b/src/text/url.c
index f024acf..39fb768 100644
--- a/src/text/url.c
+++ b/src/text/url.c
@@ -525,8 +525,6 @@ static char *vlc_idna_to_ascii (const char *idn)
         free (buf);
         goto error;
     }
-    free (wide);
-
     ret = FromWide (buf);
     free (buf);
 error:



More information about the vlc-commits mailing list