mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
caff64333f
commit
3179dd7bb1
|
@ -162,6 +162,7 @@ static DWORD MCIQTZ_drvClose(DWORD dwDevID)
|
|||
CloseHandle(wma->task.notify);
|
||||
CloseHandle(wma->task.done);
|
||||
CloseHandle(wma->task.thread);
|
||||
wma->cs.DebugInfo->Spare[0] = 0;
|
||||
DeleteCriticalSection(&wma->cs);
|
||||
mciSetDriverData(dwDevID, 0);
|
||||
CloseHandle(wma->stop_event);
|
||||
|
|
Loading…
Reference in New Issue