Commit 94091b9b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 7238a788
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment