winex11.drv: Remove DeleteCriticalSection on statically initialized CriticalSection.

Jan Zerebecki jan.wine at zerebecki.de
Thu Mar 15 02:28:01 CDT 2007


---
If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.

 dlls/winex11.drv/x11drv_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index 229ca77..fd472fb 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -484,7 +484,6 @@ static void process_detach(void)
     /* cleanup GDI */
     X11DRV_GDI_Finalize();
 
-    DeleteCriticalSection( &X11DRV_CritSection );
     TlsFree( thread_data_tls_index );
 }
 



More information about the wine-patches mailing list