From 3179dd7bb1abee00f33ba2e4484838a7e86f40ca Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 12 Feb 2016 06:16:57 +0100 Subject: [PATCH] mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections. Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- dlls/mciqtz32/mciqtz.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/mciqtz32/mciqtz.c b/dlls/mciqtz32/mciqtz.c index 24d48f3932d..aa257a0da43 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.11.4.GIT