Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a67c1330
Commit
a67c1330
authored
Aug 29, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xspf: cosmetics and fix potential memleak.
parent
dc48da84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+8
-7
No files found.
modules/demux/playlist/xspf.c
View file @
a67c1330
...
...
@@ -63,15 +63,15 @@ int Import_xspf( vlc_object_t *p_this )
void
Close_xspf
(
vlc_object_t
*
p_this
)
{
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
int
i
;
for
(
i
=
0
;
i
<
p_demux
->
p_sys
->
i_tracklist_entries
;
i
++
)
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
for
(
int
i
=
0
;
i
<
p_sys
->
i_tracklist_entries
;
i
++
)
{
if
(
p_demux
->
p_sys
->
pp_tracklist
[
i
]
)
vlc_gc_decref
(
p_
demux
->
p_
sys
->
pp_tracklist
[
i
]
);
if
(
p_sys
->
pp_tracklist
[
i
]
)
vlc_gc_decref
(
p_sys
->
pp_tracklist
[
i
]
);
}
free
(
p_
demux
->
p_
sys
->
pp_tracklist
);
free
(
p_
demux
->
p_
sys
->
psz_base
);
free
(
p_
demux
->
p_
sys
);
free
(
p_sys
->
pp_tracklist
);
free
(
p_sys
->
psz_base
);
free
(
p_sys
);
}
/**
...
...
@@ -113,6 +113,7 @@ int Demux( demux_t *p_demux )
if
(
!
psz_name
||
strcmp
(
psz_name
,
"playlist"
)
)
{
msg_Err
(
p_demux
,
"invalid root node name: %s"
,
psz_name
);
free
(
psz_name
);
goto
end
;
}
free
(
psz_name
);
...
...
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