Alexandre Julliard : wshom.ocx: Don't bother to free memory at process exit .
Alexandre Julliard
julliard at winehq.org
Wed May 15 14:20:00 CDT 2013
Module: wine
Branch: master
Commit: 0ef01edfd02ce608ed0b52417a815ca5b9b88ab3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ef01edfd02ce608ed0b52417a815ca5b9b88ab3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed May 15 10:34:57 2013 +0200
wshom.ocx: Don't bother to free memory at process exit.
---
dlls/wshom.ocx/wshom_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wshom.ocx/wshom_main.c b/dlls/wshom.ocx/wshom_main.c
index c253b61..0f40a0a 100644
--- a/dlls/wshom.ocx/wshom_main.c
+++ b/dlls/wshom.ocx/wshom_main.c
@@ -161,6 +161,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
DisableThreadLibraryCalls(wshom_instance);
break;
case DLL_PROCESS_DETACH:
+ if (lpv) break;
release_typelib();
break;
}
More information about the wine-cvs
mailing list