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
b7cdc0af
Commit
b7cdc0af
authored
May 15, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Don't bother to free memory at process exit.
parent
5d8cb876
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
secur32.c
dlls/secur32/secur32.c
+6
-5
No files found.
dlls/secur32/secur32.c
View file @
b7cdc0af
...
...
@@ -1177,15 +1177,16 @@ BOOLEAN WINAPI TranslateNameW(
/***********************************************************************
* DllMain (SECUR32.0)
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvR
eserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
reason
,
LPVOID
r
eserved
)
{
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinstDLL
);
SECUR32_initializeProviders
();
}
else
if
(
fdwReason
==
DLL_PROCESS_DETACH
)
{
break
;
case
DLL_PROCESS_DETACH
:
if
(
reserved
)
break
;
SECUR32_freeProviders
();
}
...
...
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