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

Francois Gouget fgouget at codeweavers.com
Thu Nov 17 02:52:38 CST 2011


---
 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)
-- 
1.7.7.1




More information about the wine-patches mailing list