mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
strmbase: Unset Spare[0] before deleting non-static critical sections.
This commit is contained in:
parent
0caef81de2
commit
76b64d9a4a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue