Sebastian Lackner : mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 12 09:47:44 CST 2016


Module: wine
Branch: master
Commit: 3179dd7bb1abee00f33ba2e4484838a7e86f40ca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3179dd7bb1abee00f33ba2e4484838a7e86f40ca

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Fri Feb 12 06:16:57 2016 +0100

mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list