From 76b64d9a4a41ff01984945c44049fba7c58ee53a Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 14 Nov 2011 11:32:32 +0100 Subject: [PATCH] strmbase: Unset Spare[0] before deleting non-static critical sections. --- dlls/strmbase/outputqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/strmbase/outputqueue.c b/dlls/strmbase/outputqueue.c index 88a49f810fb..e931923e0a3 100644 --- a/dlls/strmbase/outputqueue.c +++ b/dlls/strmbase/outputqueue.c @@ -127,6 +127,7 @@ HRESULT WINAPI OutputQueue_Destroy(OutputQueue *pOutputQueue) SetEvent(pOutputQueue->hProcessQueue); LeaveCriticalSection(&pOutputQueue->csQueue); + pOutputQueue->csQueue.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&pOutputQueue->csQueue); CloseHandle(pOutputQueue->hProcessQueue);