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
3369a0bf
Commit
3369a0bf
authored
Jul 13, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playlist: fx missing unlocks (cid #1047159 and #1047160)
parent
4c2353ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/playlist/item.c
src/playlist/item.c
+8
-2
No files found.
src/playlist/item.c
View file @
3369a0bf
...
...
@@ -459,7 +459,11 @@ int playlist_AddInput( playlist_t* p_playlist, input_item_t *p_input,
PL_LOCK_IF
(
!
b_locked
);
p_item
=
playlist_ItemNewFromInput
(
p_playlist
,
p_input
);
if
(
p_item
==
NULL
)
return
VLC_ENOMEM
;
if
(
p_item
==
NULL
)
{
PL_UNLOCK_IF
(
!
b_locked
);
return
VLC_ENOMEM
;
}
AddItem
(
p_playlist
,
p_item
,
b_playlist
?
p_playlist
->
p_playing
:
p_playlist
->
p_media_library
,
i_mode
,
i_pos
);
...
...
@@ -496,11 +500,13 @@ playlist_item_t * playlist_NodeAddInput( playlist_t *p_playlist,
PL_LOCK_IF
(
!
b_locked
);
p_item
=
playlist_ItemNewFromInput
(
p_playlist
,
p_input
);
if
(
p_item
==
NULL
)
return
NULL
;
if
(
p_item
==
NULL
)
goto
end
;
AddItem
(
p_playlist
,
p_item
,
p_parent
,
i_mode
,
i_pos
);
GoAndPreparse
(
p_playlist
,
i_mode
,
p_item
);
end:
PL_UNLOCK_IF
(
!
b_locked
);
return
p_item
;
...
...
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