Commit 1647524b authored by Haidong Yu's avatar Haidong Yu Committed by Alexandre Julliard

evr: Add missing LeaveCriticalSection on creating tracking thread.

parent 1a16b9e9
......@@ -345,6 +345,7 @@ static void video_sample_create_tracking_thread(void)
{
WARN("Failed to create sample tracking thread.\n");
CloseHandle(ready_event);
LeaveCriticalSection(&tracking_thread_cs);
return;
}
......
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