[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:02:56 UTC 2012


The following commit has been merged in the wheezy branch:
commit a8270d8d7bafb0c102b809c49c1a089e64578ac7
Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Thu Mar 29 10:52:29 2012 -0500

    rpcrt4: Do nothing when DllMain is called because the process is exiting.
    (cherry picked from commit bf5c3019a39be89221b5386bfeecb390ef55362f)

diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 53f3bbd..cb6ff30 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -138,6 +138,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         break;
 
     case DLL_PROCESS_DETACH:
+        if (lpvReserved) break; /* do nothing if process is shutting down */
         RPCRT4_destroy_all_protseqs();
         RPCRT4_ServerFreeAllRegisteredAuthInfo();
         DeleteCriticalSection(&uuid_cs);

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list