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
f7b22f65
Commit
f7b22f65
authored
Nov 14, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Give a name to the critical sections and delete them when done.
parent
4db0d0da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mimeintl.c
dlls/inetcomm/mimeintl.c
+3
-0
No files found.
dlls/inetcomm/mimeintl.c
View file @
f7b22f65
...
...
@@ -104,6 +104,8 @@ static ULONG WINAPI MimeInternat_Release( IMimeInternational *iface )
list_remove
(
&
charset
->
entry
);
HeapFree
(
GetProcessHeap
(),
0
,
charset
);
}
This
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
cs
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -527,6 +529,7 @@ HRESULT MimeInternational_Construct(IMimeInternational **internat)
global_internat
->
IMimeInternational_iface
.
lpVtbl
=
&
mime_internat_vtbl
;
global_internat
->
refs
=
0
;
InitializeCriticalSection
(
&
global_internat
->
cs
);
global_internat
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": global_internat.cs"
);
list_init
(
&
global_internat
->
charsets
);
global_internat
->
next_charset_handle
=
0
;
...
...
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