Francois Gouget : mscms: Delete the static critical section when unloading the dll.

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:46:47 CST 2011


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Nov 16 16:33:11 2011 +0100

mscms: Delete the static critical section when unloading the dll.

---

 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 )




More information about the wine-cvs mailing list