mscms: Delete the static critical section when unloading the dll.
Francois Gouget
fgouget at codeweavers.com
Wed Nov 16 09:33:11 CST 2011
---
free_handle_tables() is only called from DLL_PROCESS_DETACH.
dlls/mscms/handle.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mscms/handle.c b/dlls/mscms/handle.c
index 84f1d8b..1fec810 100644
--- a/dlls/mscms/handle.c
+++ b/dlls/mscms/handle.c
@@ -60,6 +60,8 @@ void free_handle_tables( void )
HeapFree( GetProcessHeap(), 0, transformtable );
transformtable = NULL;
num_transform_handles = 0;
+
+ DeleteCriticalSection( &MSCMS_handle_cs );
}
struct profile *grab_profile( HPROFILE handle )
--
1.7.7.1
More information about the wine-patches
mailing list