Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
88dbb25a
Commit
88dbb25a
authored
Apr 21, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle failed allocation
(I don't remember why I coded that, but it was left in my trunk)
parent
f378f0d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/playlist/view.c
src/playlist/view.c
+7
-1
No files found.
src/playlist/view.c
View file @
88dbb25a
...
...
@@ -256,12 +256,18 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist, int i_view,
playlist_item_t
*
p_item
=
(
playlist_item_t
*
)
malloc
(
sizeof
(
playlist_item_t
)
);
vlc_value_t
val
;
playlist_add_t
*
p_add
=
(
playlist_add_t
*
)
malloc
(
sizeof
(
playlist_add_t
))
;
playlist_add_t
*
p_add
;
if
(
p_item
==
NULL
)
{
return
NULL
;
}
p_add
=
(
playlist_add_t
*
)
malloc
(
sizeof
(
playlist_add_t
)
);
if
(
p_add
==
NULL
)
{
free
(
p_item
);
return
NULL
;
}
vlc_input_item_Init
(
VLC_OBJECT
(
p_playlist
),
&
p_item
->
input
);
if
(
psz_name
!=
NULL
)
...
...
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