Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
14ddd406
Commit
14ddd406
authored
Dec 29, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hierarchical_media_list_view.c: Fix a mlist mem leak.
parent
9bc4f8f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/control/hierarchical_media_list_view.c
src/control/hierarchical_media_list_view.c
+5
-1
No files found.
src/control/hierarchical_media_list_view.c
View file @
14ddd406
...
@@ -77,12 +77,16 @@ hierarch_media_list_view_children_at_index( libvlc_media_list_view_t * p_mlv,
...
@@ -77,12 +77,16 @@ hierarch_media_list_view_children_at_index( libvlc_media_list_view_t * p_mlv,
{
{
libvlc_media_descriptor_t
*
p_md
;
libvlc_media_descriptor_t
*
p_md
;
libvlc_media_list_t
*
p_submlist
;
libvlc_media_list_t
*
p_submlist
;
libvlc_media_list_view_t
*
p_ret
;
p_md
=
libvlc_media_list_item_at_index
(
p_mlv
->
p_mlist
,
index
,
p_e
);
p_md
=
libvlc_media_list_item_at_index
(
p_mlv
->
p_mlist
,
index
,
p_e
);
if
(
!
p_md
)
return
NULL
;
if
(
!
p_md
)
return
NULL
;
p_submlist
=
libvlc_media_descriptor_subitems
(
p_md
,
p_e
);
p_submlist
=
libvlc_media_descriptor_subitems
(
p_md
,
p_e
);
libvlc_media_descriptor_release
(
p_md
);
libvlc_media_descriptor_release
(
p_md
);
if
(
!
p_submlist
)
return
NULL
;
if
(
!
p_submlist
)
return
NULL
;
return
libvlc_media_list_hierarchical_view
(
p_submlist
,
p_e
);
p_ret
=
libvlc_media_list_hierarchical_view
(
p_submlist
,
p_e
);
libvlc_media_list_release
(
p_submlist
);
return
p_ret
;
}
}
/**************************************************************************
/**************************************************************************
...
...
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