mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.
Sebastian Lackner
sebastian at fds-team.de
Thu Feb 11 23:16:57 CST 2016
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
dlls/mciqtz32/mciqtz.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c
index 24d48f3..aa257a0 100644
--- a/dlls/mciqtz32/mciqtz.c
+++ b/dlls/mciqtz32/mciqtz.c
@@ -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);
--
2.7.1
More information about the wine-patches
mailing list