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
2aa3d2b0
Commit
2aa3d2b0
authored
May 17, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Don't bother to free libraries at process exit.
parent
cbb2792e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
setupcab.c
dlls/setupapi/setupcab.c
+2
-9
No files found.
dlls/setupapi/setupcab.c
View file @
2aa3d2b0
...
@@ -114,14 +114,6 @@ static BOOL LoadCABINETDll(void)
...
@@ -114,14 +114,6 @@ static BOOL LoadCABINETDll(void)
return
TRUE
;
return
TRUE
;
}
}
static
void
UnloadCABINETDll
(
void
)
{
if
(
CABINET_hInstance
)
{
FreeLibrary
(
CABINET_hInstance
);
CABINET_hInstance
=
0
;
}
}
/* FDICreate callbacks */
/* FDICreate callbacks */
static
void
*
CDECL
sc_cb_alloc
(
ULONG
cb
)
static
void
*
CDECL
sc_cb_alloc
(
ULONG
cb
)
...
@@ -701,7 +693,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
...
@@ -701,7 +693,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
SETUPAPI_hInstance
=
hinstDLL
;
SETUPAPI_hInstance
=
hinstDLL
;
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
UnloadCABINETDll
();
if
(
lpvReserved
)
break
;
if
(
CABINET_hInstance
)
FreeLibrary
(
CABINET_hInstance
);
break
;
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