Alexandre Julliard : mpr: 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: bd670f1ce1814d388e8221e37ed02f761a51b58f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bd670f1ce1814d388e8221e37ed02f761a51b58f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed May 15 10:22:01 2013 +0200

mpr: Don't bother to free memory at process exit.

---

 dlls/mpr/mpr_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mpr/mpr_main.c b/dlls/mpr/mpr_main.c
index 7998bff..d7535f5 100644
--- a/dlls/mpr/mpr_main.c
+++ b/dlls/mpr/mpr_main.c
@@ -85,6 +85,7 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
             break;
 
         case DLL_PROCESS_DETACH:
+            if (lpvReserved) break;
             wnetFree();
             break;
     }




More information about the wine-cvs mailing list