Commit 80835cbb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix invalid free at exit on non-UTF-8 systems

(cherry picked from commit 2098f7858a9672c10527807511d0cd3daac458cc)
parent 647a78ba
...@@ -200,7 +200,7 @@ int main( int i_argc, const char *ppsz_argv[] ) ...@@ -200,7 +200,7 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release (vlc); libvlc_release (vlc);
} }
for (int i = 1; i < argc; i++) for (int i = 2; i < argc; i++)
LocaleFree (argv[i]); LocaleFree (argv[i]);
#ifdef RTLD_NOLOAD #ifdef RTLD_NOLOAD
......
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