Francois Gouget : msvideo: Delete the static critical section when unloading the dll.
Alexandre Julliard
julliard at winehq.org
Thu Nov 17 12:52:34 CST 2011
Module: wine
Branch: master
Commit: 94091b9bd137eff9f8dc1dc73260cde5ba84d4c3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=94091b9bd137eff9f8dc1dc73260cde5ba84d4c3
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Thu Nov 17 09:52:50 2011 +0100
msvideo: Delete the static critical section when unloading the dll.
---
dlls/msvideo.dll16/msvideo16.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c
index 93724c9..b729ccc 100644
--- a/dlls/msvideo.dll16/msvideo16.c
+++ b/dlls/msvideo.dll16/msvideo16.c
@@ -967,6 +967,7 @@ BOOL WINAPI VIDEO_LibMain(DWORD fdwReason, HINSTANCE hinstDLL, WORD ds,
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
+ DeleteCriticalSection(&msvideo_cs);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
More information about the wine-cvs
mailing list