Commit 5450e850 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix invalid free on non-UTF-8 locales

parent 1979486d
......@@ -165,7 +165,7 @@ int main( int i_argc, const char *ppsz_argv[] )
libvlc_release (vlc);
}
for (int i = 0; i < argc; i++)
for (int i = 1; i < argc; i++)
LocaleFree (argv[i]);
return vlc == NULL || libvlc_exception_raised (&ex);
......
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