Commit 9583fbe0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix invalid mix of closedir and free on Win32.

parent 4466cc4f
......@@ -434,7 +434,7 @@ DIR *utf8_opendir( const char *dirname )
if( local_name != NULL )
{
DIR *dir = vlc_opendir_wrapper( local_name );
DIR *dir = opendir( local_name );
LocaleFree( local_name );
return dir;
}
......@@ -448,7 +448,7 @@ char *utf8_readdir( void *dir )
{
struct dirent *ent;
ent = vlc_readdir_wrapper( (DIR *)dir );
ent = readdir( (DIR *)dir );
if( ent == NULL )
return NULL;
......
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