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:
Sebastian Lackner 2016-02-12 06:16:57 +01:00 committed by Alexandre Julliard
parent caff64333f
commit 3179dd7bb1
1 changed files with 1 additions and 0 deletions

View File

@ -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);