Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
71e9455b
Commit
71e9455b
authored
Apr 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add missing lock releases on some code paths (Smatch).
parent
33f270af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
parser.c
dlls/quartz/parser.c
+3
-0
No files found.
dlls/quartz/parser.c
View file @
71e9455b
...
@@ -223,6 +223,7 @@ static HRESULT WINAPI Parser_Stop(IBaseFilter * iface)
...
@@ -223,6 +223,7 @@ static HRESULT WINAPI Parser_Stop(IBaseFilter * iface)
if
(
This
->
state
==
State_Stopped
)
if
(
This
->
state
==
State_Stopped
)
{
{
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
pin
->
thread_lock
);
return
S_OK
;
return
S_OK
;
}
}
This
->
state
=
State_Stopped
;
This
->
state
=
State_Stopped
;
...
@@ -248,6 +249,7 @@ static HRESULT WINAPI Parser_Pause(IBaseFilter * iface)
...
@@ -248,6 +249,7 @@ static HRESULT WINAPI Parser_Pause(IBaseFilter * iface)
if
(
This
->
state
==
State_Paused
)
if
(
This
->
state
==
State_Paused
)
{
{
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
pin
->
thread_lock
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -284,6 +286,7 @@ static HRESULT WINAPI Parser_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
...
@@ -284,6 +286,7 @@ static HRESULT WINAPI Parser_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
if
(
This
->
state
==
State_Running
)
if
(
This
->
state
==
State_Running
)
{
{
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
pin
->
thread_lock
);
return
S_OK
;
return
S_OK
;
}
}
...
...
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