Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
51ab24dd
Commit
51ab24dd
authored
Nov 14, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Give a name and delete the critical sections.
parent
7480dc0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
compcatcachedaemon.c
dlls/browseui/compcatcachedaemon.c
+2
-0
progressdlg.c
dlls/browseui/progressdlg.c
+3
-0
No files found.
dlls/browseui/compcatcachedaemon.c
View file @
51ab24dd
...
...
@@ -57,6 +57,7 @@ static inline CompCatCacheDaemon *impl_from_IRunnableTask(IRunnableTask *iface)
static
void
CompCatCacheDaemon_Destructor
(
CompCatCacheDaemon
*
This
)
{
TRACE
(
"destroying %p
\n
"
,
This
);
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
cs
);
heap_free
(
This
);
BROWSEUI_refCount
--
;
...
...
@@ -154,6 +155,7 @@ HRESULT CompCatCacheDaemon_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
This
->
IRunnableTask_iface
.
lpVtbl
=
&
CompCatCacheDaemonVtbl
;
This
->
refCount
=
1
;
InitializeCriticalSection
(
&
This
->
cs
);
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": CompCatCacheDaemon.cs"
);
TRACE
(
"returning %p
\n
"
,
This
);
*
ppOut
=
(
IUnknown
*
)
This
;
...
...
dlls/browseui/progressdlg.c
View file @
51ab24dd
...
...
@@ -260,6 +260,8 @@ static void ProgressDialog_Destructor(ProgressDialog *This)
heap_free
(
This
->
cancelMsg
);
heap_free
(
This
->
title
);
heap_free
(
This
);
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
cs
);
BROWSEUI_refCount
--
;
}
...
...
@@ -503,6 +505,7 @@ HRESULT ProgressDialog_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
This
->
IProgressDialog_iface
.
lpVtbl
=
&
ProgressDialogVtbl
;
This
->
refCount
=
1
;
InitializeCriticalSection
(
&
This
->
cs
);
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": ProgressDialog.cs"
);
TRACE
(
"returning %p
\n
"
,
This
);
*
ppOut
=
(
IUnknown
*
)
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