Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
763f3641
Commit
763f3641
authored
Aug 21, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak
parent
45915c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/input/meta.c
src/input/meta.c
+5
-4
No files found.
src/input/meta.c
View file @
763f3641
...
...
@@ -353,18 +353,19 @@ static int __input_FindArtInCache( vlc_object_t *p_obj, input_item_t *p_item )
while
(
(
p_de
=
utf8_readdir
(
p_dir
))
)
{
if
(
strncmp
(
p_de
,
"art"
,
3
)
)
if
(
!
strncmp
(
p_de
,
"art"
,
3
)
)
{
snprintf
(
psz_filename
,
MAX_PATH
,
"%s"
DIR_SEP
"%s"
,
psz_dirname
,
p_de
);
input_item_SetArtURL
(
p_item
,
psz_filename
);
closedir
(
p_dir
);
return
VLC_SUCCESS
;
free
(
p_de
);
break
;
}
free
(
p_de
);
}
closedir
(
p_dir
);
return
VLC_EGENERIC
;
return
(
p_de
==
NULL
)
?
VLC_EGENERIC
:
VLC_SUCCESS
;
}
/**
...
...
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