Commit 2098f785 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent e5ab4b41
......@@ -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
......
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