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
25fd4bfd
Commit
25fd4bfd
authored
Aug 16, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media_instance.c: Don't forget mutex destruction.
parent
5d963f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/control/media_instance.c
src/control/media_instance.c
+3
-1
No files found.
src/control/media_instance.c
View file @
25fd4bfd
...
...
@@ -263,6 +263,7 @@ void libvlc_media_instance_destroy( libvlc_media_instance_t *p_mi )
free
(
p_mi
);
return
;
/* no need to worry about no input thread */
}
vlc_mutex_destroy
(
&
p_mi
->
object_lock
);
input_DestroyThread
(
p_input_thread
);
...
...
@@ -289,6 +290,7 @@ void libvlc_media_instance_release( libvlc_media_instance_t *p_mi )
return
;
}
vlc_mutex_unlock
(
&
p_mi
->
object_lock
);
vlc_mutex_destroy
(
&
p_mi
->
object_lock
);
libvlc_event_manager_release
(
p_mi
->
p_event_manager
);
...
...
@@ -323,7 +325,7 @@ void libvlc_media_instance_set_media_descriptor(
return
;
vlc_mutex_lock
(
&
p_mi
->
object_lock
);
release_input_thread
(
p_mi
);
libvlc_media_descriptor_release
(
p_mi
->
p_md
);
...
...
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