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

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

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

---

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

diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c
index da023d9..d253c42 100644
--- a/dlls/dwrite/main.c
+++ b/dlls/dwrite/main.c
@@ -44,6 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
         DisableThreadLibraryCalls( hinstDLL );
         break;
     case DLL_PROCESS_DETACH:
+        if (reserved) break;
         release_system_fontcollection();
         break;
     }




More information about the wine-cvs mailing list