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
dfd672cc
Commit
dfd672cc
authored
Aug 20, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update_Delete: Fix update download thread destruction
parent
85abebf7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/misc/update.c
src/misc/update.c
+2
-4
No files found.
src/misc/update.c
View file @
dfd672cc
...
@@ -143,12 +143,12 @@ void update_Delete( update_t *p_update )
...
@@ -143,12 +143,12 @@ void update_Delete( update_t *p_update )
if
(
p_update
->
p_check
)
if
(
p_update
->
p_check
)
{
{
assert
(
!
p_update
->
p_download
);
vlc_object_kill
(
p_update
->
p_check
);
vlc_object_kill
(
p_update
->
p_check
);
vlc_thread_join
(
p_update
->
p_check
);
vlc_thread_join
(
p_update
->
p_check
);
vlc_object_release
(
p_update
->
p_check
);
vlc_object_release
(
p_update
->
p_check
);
}
}
else
if
(
p_update
->
p_download
)
if
(
p_update
->
p_download
)
{
{
vlc_object_kill
(
p_update
->
p_download
);
vlc_object_kill
(
p_update
->
p_download
);
vlc_thread_join
(
p_update
->
p_download
);
vlc_thread_join
(
p_update
->
p_download
);
...
@@ -732,8 +732,6 @@ end:
...
@@ -732,8 +732,6 @@ end:
free
(
p_buffer
);
free
(
p_buffer
);
free
(
psz_size
);
free
(
psz_size
);
p_udt
->
p_update
->
p_download
=
NULL
;
vlc_restorecancel
(
canc
);
vlc_restorecancel
(
canc
);
return
NULL
;
return
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