Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
fe3cb633
Commit
fe3cb633
authored
Jul 09, 2010
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/playlist/loadsave.c : Fix [
1644d683
]
typo and double free
parent
2af37db2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/playlist/loadsave.c
src/playlist/loadsave.c
+5
-4
No files found.
src/playlist/loadsave.c
View file @
fe3cb633
...
...
@@ -128,7 +128,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
}
char
*
psz_file
;
if
(
asprintf
(
&
psz_file
,
"%s"
DIR_SEP
"ml.xspf"
,
psz_datadir
)
!
=
-
1
)
if
(
asprintf
(
&
psz_file
,
"%s"
DIR_SEP
"ml.xspf"
,
psz_datadir
)
=
=
-
1
)
psz_file
=
NULL
;
free
(
psz_datadir
);
if
(
psz_file
==
NULL
)
...
...
@@ -136,10 +136,11 @@ int playlist_MLLoad( playlist_t *p_playlist )
/* loosy check for media library file */
struct
stat
st
;
int
ret
=
vlc_stat
(
psz_file
,
&
st
);
if
(
vlc_stat
(
psz_file
,
&
st
)
)
{
free
(
psz_file
);
if
(
ret
)
return
VLC_EGENERIC
;
}
char
*
psz_uri
=
make_URI
(
psz_file
,
"file/xspf-open"
);
free
(
psz_file
);
...
...
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