Francois Gouget : winspool.drv: Delete the static critical section when unloading the dll.
Alexandre Julliard
julliard at winehq.org
Thu Nov 17 12:52:35 CST 2011
Module: wine
Branch: master
Commit: 7454791643e366e2ece52d5c9b81069343e6df8d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7454791643e366e2ece52d5c9b81069343e6df8d
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Nov 17 09:55:26 2011 +0100
winspool.drv: Delete the static critical section when unloading the dll.
---
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);
}
More information about the wine-cvs
mailing list