Alexandre Julliard : netapi32: Don't bother to clean up at process exit.
Alexandre Julliard
julliard at winehq.org
Fri May 17 14:24:33 CDT 2013
Module: wine
Branch: master
Commit: 670c621414e2ac3556352ee2b4a3975af572659e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=670c621414e2ac3556352ee2b4a3975af572659e
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri May 17 12:28:05 2013 +0200
netapi32: Don't bother to clean up at process exit.
---
dlls/netapi32/netapi32.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c
index a24320c..a5f1c03 100644
--- a/dlls/netapi32/netapi32.c
+++ b/dlls/netapi32/netapi32.c
@@ -33,17 +33,14 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
switch (fdwReason) {
case DLL_PROCESS_ATTACH:
- {
DisableThreadLibraryCalls(hinstDLL);
NetBIOSInit();
NetBTInit();
break;
- }
case DLL_PROCESS_DETACH:
- {
+ if (lpvReserved) break;
NetBIOSShutdown();
break;
- }
}
return TRUE;
More information about the wine-cvs
mailing list