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
800b605e
Commit
800b605e
authored
Apr 01, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Correctly decref where we use the object.
parent
09ce2046
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/playlist/engine.c
src/playlist/engine.c
+0
-2
src/playlist/loadsave.c
src/playlist/loadsave.c
+1
-0
No files found.
src/playlist/engine.c
View file @
800b605e
...
...
@@ -398,8 +398,6 @@ check_input:
static
void
ML_Decref
(
playlist_item_t
*
p_node
)
{
vlc_gc_decref
(
p_node
->
p_input
);
int
i
;
if
(
p_node
->
i_children
>
0
)
for
(
i
=
0
;
i
<
p_node
->
i_children
;
i
++
)
...
...
src/playlist/loadsave.c
View file @
800b605e
...
...
@@ -180,6 +180,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
vlc_event_detach
(
&
p_input
->
event_manager
,
vlc_InputItemSubItemAdded
,
input_item_subitem_added
,
p_playlist
);
vlc_gc_decref
(
p_input
);
free
(
psz_uri
);
return
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