Commit c814fbe1 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

mciwave: Fix bad free in MCI_SendCommandAsync (Coverity).

parent 68c3ac76
......@@ -124,7 +124,7 @@ static DWORD MCI_SendCommandAsync(UINT wDevID, async_cmd cmd, DWORD_PTR dwParam1
WARN("Couldn't allocate thread for async command handling, sending synchronously\n");
if (handles[1]) CloseHandle(handles[1]);
sca->evt = NULL;
return MCI_SCAStarter(&sca);
return MCI_SCAStarter(sca);
}
SetThreadPriority(handles[0], THREAD_PRIORITY_TIME_CRITICAL);
......
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