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

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

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

---

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

diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 6e8d452..c7b2da4 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -80,6 +80,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         break;
 
     case DLL_PROCESS_DETACH:
+        if (lpvReserved) break;
         LIST_FOR_EACH_ENTRY_SAFE(entry, cursor2, &pending_credentials_list, struct pending_credentials, entry)
         {
             list_remove(&entry->entry);




More information about the wine-cvs mailing list