Alexandre Julliard : inetmib1: Don't bother to free memory at process exit.
Alexandre Julliard
julliard at winehq.org
Wed May 15 14:19:59 CDT 2013
Module: wine
Branch: master
Commit: d6976d7e009927357220be0429beb336d20bad3c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6976d7e009927357220be0429beb336d20bad3c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed May 15 10:20:16 2013 +0200
inetmib1: Don't bother to free memory at process exit.
---
dlls/inetmib1/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/inetmib1/main.c b/dlls/inetmib1/main.c
index 20d8006..c0719c1 100644
--- a/dlls/inetmib1/main.c
+++ b/dlls/inetmib1/main.c
@@ -1454,10 +1454,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
+ if (lpvReserved) break;
cleanup();
break;
- default:
- break;
}
return TRUE;
More information about the wine-cvs
mailing list