Francois Gouget : msvideo: Delete the static critical section when unloading the dll.
Module: wine Branch: master Commit: 94091b9bd137eff9f8dc1dc73260cde5ba84d4c3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=94091b9bd137eff9f8dc1dc732... Author: Francois Gouget <fgouget(a)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:
participants (1)
-
Alexandre Julliard