winspool.drv: Delete the static critical section when unloading the dll.

Francois Gouget fgouget at codeweavers.com
Thu Nov 17 02:55:26 CST 2011


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

diff --git a/dlls/winspool.drv/wspool.c b/dlls/winspool.drv/wspool.c
index 54f921d..1f25129 100644
--- a/dlls/winspool.drv/wspool.c
+++ b/dlls/winspool.drv/wspool.c
@@ -114,6 +114,7 @@ static void unload_backend(void)
     backend = NULL;
     FreeLibrary(hlocalspl);
     LeaveCriticalSection(&backend_cs);
+    DeleteCriticalSection(&backend_cs);
 }
 
 
-- 
1.7.7.1




More information about the wine-patches mailing list