Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
75912d9c
Commit
75912d9c
authored
Nov 03, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/core.c: Fix a warning about lock being an usunsed variable, by using lock.
parent
b999b9b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/control/core.c
src/control/core.c
+3
-3
No files found.
src/control/core.c
View file @
75912d9c
...
...
@@ -136,15 +136,15 @@ void libvlc_release( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
assert
(
p_instance
->
ref_count
>
0
);
vlc_mutex_lock
(
&
p_instance
->
instance_
lock
);
vlc_mutex_lock
(
lock
);
refs
=
--
p_instance
->
ref_count
;
if
(
refs
==
0
)
libvlc_event_fini
(
p_instance
,
p_e
);
vlc_mutex_unlock
(
&
p_instance
->
instance_
lock
);
vlc_mutex_unlock
(
lock
);
if
(
refs
==
0
)
{
vlc_mutex_destroy
(
&
p_instance
->
instance_
lock
);
vlc_mutex_destroy
(
lock
);
vlc_mutex_destroy
(
&
p_instance
->
event_callback_lock
);
libvlc_InternalCleanup
(
p_instance
->
p_libvlc_int
);
libvlc_InternalDestroy
(
p_instance
->
p_libvlc_int
,
VLC_FALSE
);
...
...
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