Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
9583fbe0
Commit
9583fbe0
authored
Nov 25, 2006
by
Rémi Denis-Courmont
Browse files
Fix invalid mix of closedir and free on Win32.
parent
4466cc4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/text/unicode.c
View file @
9583fbe0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment