Francois Gouget : msi: Delete the handle static critical sections when unloading the dll.

Alexandre Julliard julliard at winehq.org
Thu Nov 17 12:52:34 CST 2011


Module: wine
Branch: master
Commit: 7238a788051a85b7d9ae881c069903c58044d98c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7238a788051a85b7d9ae881c069903c58044d98c

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Nov 17 09:52:38 2011 +0100

msi: Delete the handle static critical sections when unloading the dll.

---

 dlls/msi/handle.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/handle.c b/dlls/msi/handle.c
index 8d43775..80c6873 100644
--- a/dlls/msi/handle.c
+++ b/dlls/msi/handle.c
@@ -71,6 +71,8 @@ void msi_free_handle_table(void)
     msi_free( msihandletable );
     msihandletable = NULL;
     msihandletable_size = 0;
+    DeleteCriticalSection(&MSI_handle_cs);
+    DeleteCriticalSection(&MSI_object_cs);
 }
 
 static MSIHANDLE alloc_handle_table_entry(void)




More information about the wine-cvs mailing list