From 3abbbb2556515d09e794edd0934ddbbde3b0ed18 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 16 Nov 2011 16:33:11 +0100 Subject: [PATCH] mscms: Delete the static critical section when unloading the dll. --- dlls/mscms/handle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/mscms/handle.c b/dlls/mscms/handle.c index 84f1d8ba30f..1fec81030ce 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 )