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
7e6516d2
Commit
7e6516d2
authored
Apr 29, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segfault on "del"
parent
c4f65ca5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/misc/vlm.c
src/misc/vlm.c
+5
-0
No files found.
src/misc/vlm.c
View file @
7e6516d2
...
@@ -527,6 +527,8 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
...
@@ -527,6 +527,8 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
{
{
vlm_MediaDelete
(
vlm
,
vlm
->
media
[
i
],
NULL
);
vlm_MediaDelete
(
vlm
,
vlm
->
media
[
i
],
NULL
);
}
}
message
=
vlm_MessageNew
(
"del"
,
NULL
);
goto
end_seq
;
}
}
else
if
(
strcmp
(
p_command
[
1
]
,
"schedule"
)
==
0
)
else
if
(
strcmp
(
p_command
[
1
]
,
"schedule"
)
==
0
)
{
{
...
@@ -534,6 +536,8 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
...
@@ -534,6 +536,8 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
{
{
vlm_ScheduleDelete
(
vlm
,
vlm
->
schedule
[
i
],
NULL
);
vlm_ScheduleDelete
(
vlm
,
vlm
->
schedule
[
i
],
NULL
);
}
}
message
=
vlm_MessageNew
(
"del"
,
NULL
);
goto
end_seq
;
}
}
else
if
(
strcmp
(
p_command
[
1
]
,
"all"
)
==
0
)
else
if
(
strcmp
(
p_command
[
1
]
,
"all"
)
==
0
)
{
{
...
@@ -547,6 +551,7 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
...
@@ -547,6 +551,7 @@ static int ExecuteCommand( vlm_t *vlm, char *command , vlm_message_t **p_message
vlm_ScheduleDelete
(
vlm
,
vlm
->
schedule
[
i
],
NULL
);
vlm_ScheduleDelete
(
vlm
,
vlm
->
schedule
[
i
],
NULL
);
}
}
i_return
=
0
;
i_return
=
0
;
message
=
vlm_MessageNew
(
"del"
,
NULL
);
goto
end_seq
;
goto
end_seq
;
}
}
else
else
...
...
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