[vlc-commits] commit: Fix invalid free at exit on non-UTF-8 systems ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sat May 29 22:48:39 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 29 23:44:40 2010 +0300| [2098f7858a9672c10527807511d0cd3daac458cc] | committer: Rémi Denis-Courmont
Fix invalid free at exit on non-UTF-8 systems
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2098f7858a9672c10527807511d0cd3daac458cc
---
bin/vlc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/vlc.c b/bin/vlc.c
index 447b808..277cecf 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -200,7 +200,7 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release (vlc);
}
- for (int i = 1; i < argc; i++)
+ for (int i = 2; i < argc; i++)
LocaleFree (argv[i]);
#ifdef RTLD_NOLOAD
More information about the vlc-commits
mailing list