Francois Gouget : strmbase: Unset Spare[0] before deleting non-static critical sections.

Alexandre Julliard julliard at winehq.org
Mon Nov 14 13:33:59 CST 2011


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Nov 14 11:32:32 2011 +0100

strmbase: Unset Spare[0] before deleting non-static critical sections.

---

 dlls/strmbase/outputqueue.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/strmbase/outputqueue.c b/dlls/strmbase/outputqueue.c
index 88a49f8..e931923 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);
 




More information about the wine-cvs mailing list