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
09715dbf
Commit
09715dbf
authored
Dec 29, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/item.c: Properly release the input_item as pointed by funman.
parent
dcebfbb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/playlist/item.c
src/playlist/item.c
+4
-3
No files found.
src/playlist/item.c
View file @
09715dbf
...
...
@@ -295,10 +295,11 @@ int playlist_AddExt( playlist_t *p_playlist, const char * psz_uri,
i_ret
=
playlist_AddInput
(
p_playlist
,
p_input
,
i_mode
,
i_pos
,
b_playlist
,
b_locked
);
int
i_id
=
i_ret
==
VLC_SUCCESS
?
p_input
->
i_id
:
-
1
vlc_gc_decref
(
p_input
);
if
(
i_ret
==
VLC_SUCCESS
)
return
p_input
->
i_id
;
return
-
1
;
return
i_id
;
}
/** Add an input item to the playlist node */
...
...
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