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
8560a654
Commit
8560a654
authored
Nov 14, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Give a name to the critical sections.
parent
86d8217a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
filtergraph.c
dlls/quartz/tests/filtergraph.c
+3
-0
No files found.
dlls/quartz/tests/filtergraph.c
View file @
8560a654
...
@@ -1094,6 +1094,7 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
...
@@ -1094,6 +1094,7 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
pTestFilter
->
IBaseFilter_iface
.
lpVtbl
=
&
TestFilter_Vtbl
;
pTestFilter
->
IBaseFilter_iface
.
lpVtbl
=
&
TestFilter_Vtbl
;
pTestFilter
->
refCount
=
1
;
pTestFilter
->
refCount
=
1
;
InitializeCriticalSection
(
&
pTestFilter
->
csFilter
);
InitializeCriticalSection
(
&
pTestFilter
->
csFilter
);
pTestFilter
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": TestFilterImpl.csFilter"
);
pTestFilter
->
state
=
State_Stopped
;
pTestFilter
->
state
=
State_Stopped
;
ZeroMemory
(
&
pTestFilter
->
filterInfo
,
sizeof
(
FILTER_INFO
));
ZeroMemory
(
&
pTestFilter
->
filterInfo
,
sizeof
(
FILTER_INFO
));
...
@@ -1148,6 +1149,7 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
...
@@ -1148,6 +1149,7 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
}
}
}
}
CoTaskMemFree
(
pTestFilter
->
ppPins
);
CoTaskMemFree
(
pTestFilter
->
ppPins
);
pTestFilter
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
pTestFilter
->
csFilter
);
DeleteCriticalSection
(
&
pTestFilter
->
csFilter
);
CoTaskMemFree
(
pTestFilter
);
CoTaskMemFree
(
pTestFilter
);
...
@@ -1211,6 +1213,7 @@ static ULONG WINAPI TestFilter_Release(IBaseFilter * iface)
...
@@ -1211,6 +1213,7 @@ static ULONG WINAPI TestFilter_Release(IBaseFilter * iface)
CoTaskMemFree
(
This
->
ppPins
);
CoTaskMemFree
(
This
->
ppPins
);
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
DeleteCriticalSection
(
&
This
->
csFilter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
...
...
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