msvideo: Delete the static critical section when unloading the dll.

This commit is contained in:
Francois Gouget 2011-11-17 09:52:50 +01:00 committed by Alexandre Julliard
parent 7238a78805
commit 94091b9bd1
1 changed files with 1 additions and 0 deletions

View File

@ -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: