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
ed03674b
Commit
ed03674b
authored
Nov 17, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Delete the compobj and rpc static critical sections when unloading the dll.
parent
a3e2c68f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
compobj.c
dlls/ole32/compobj.c
+3
-0
rpc.c
dlls/ole32/rpc.c
+2
-0
No files found.
dlls/ole32/compobj.c
View file @
ed03674b
...
...
@@ -308,6 +308,7 @@ static void COMPOBJ_DllList_Free(void)
HeapFree
(
GetProcessHeap
(),
0
,
entry
);
}
LeaveCriticalSection
(
&
csOpenDllList
);
DeleteCriticalSection
(
&
csOpenDllList
);
}
/******************************************************************************
...
...
@@ -4286,6 +4287,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
COMPOBJ_UninitProcess
();
RPC_UnregisterAllChannelHooks
();
COMPOBJ_DllList_Free
();
DeleteCriticalSection
(
&
csRegisteredClassList
);
DeleteCriticalSection
(
&
csApartment
);
break
;
case
DLL_THREAD_DETACH
:
...
...
dlls/ole32/rpc.c
View file @
ed03674b
...
...
@@ -453,6 +453,8 @@ void RPC_UnregisterAllChannelHooks(void)
LIST_FOR_EACH_ENTRY_SAFE
(
cursor
,
cursor2
,
&
channel_hooks
,
struct
channel_hook_entry
,
entry
)
HeapFree
(
GetProcessHeap
(),
0
,
cursor
);
LeaveCriticalSection
(
&
csChannelHook
);
DeleteCriticalSection
(
&
csChannelHook
);
DeleteCriticalSection
(
&
csRegIf
);
}
/* RPC Channel Buffer Functions */
...
...
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