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
b785ce12
Commit
b785ce12
authored
Sep 10, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Sep 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed crash in detach sequence.
parent
1e0eaed1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shell32_main.c
dlls/shell32/shell32_main.c
+4
-4
No files found.
dlls/shell32/shell32_main.c
View file @
b785ce12
...
...
@@ -857,10 +857,6 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
case
DLL_PROCESS_DETACH
:
shell32_RefCount
--
;
pOleUninitialize
();
FreeLibrary
(
hOle32
);
FreeLibrary
(
hComctl32
);
if
(
!
shell32_RefCount
)
{
shell32_hInstance
=
0
;
...
...
@@ -879,6 +875,10 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
WARN_
(
shell
)(
"leaving with %u objects left (memory leak)
\n
"
,
shell32_ObjCount
);
}
}
FreeLibrary
(
hOle32
);
FreeLibrary
(
hComctl32
);
TRACE_
(
shell
)(
"refcount=%u objcount=%u
\n
"
,
shell32_RefCount
,
shell32_ObjCount
);
break
;
}
...
...
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