Francois Gouget : dxgi: 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: 903146bdcd0e400ddbfe4f3f0bb71cfcf5fe0c85
URL: http://source.winehq.org/git/wine.git/?a=commit;h=903146bdcd0e400ddbfe4f3f0bb71cfcf5fe0c85
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Nov 16 16:31:35 2011 +0100
dxgi: Delete the static critical section when unloading the dll.
---
dlls/dxgi/dxgi_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dxgi/dxgi_main.c b/dlls/dxgi/dxgi_main.c
index 36e3326..c9d6f2e 100644
--- a/dlls/dxgi/dxgi_main.c
+++ b/dlls/dxgi/dxgi_main.c
@@ -54,6 +54,7 @@ static void dxgi_main_cleanup(void)
dxgi_main.d3d10core = NULL;
LeaveCriticalSection(&dxgi_cs);
+ DeleteCriticalSection(&dxgi_cs);
}
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
More information about the wine-cvs
mailing list