mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:17:58 +00:00
quartz/tests: Don't use DebugInfo of critical sections in tests.
This commit is contained in:
parent
743900faaa
commit
29d08186c9
1 changed files with 0 additions and 3 deletions
|
@ -1094,7 +1094,6 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
|
||||||
pTestFilter->IBaseFilter_iface.lpVtbl = &TestFilter_Vtbl;
|
pTestFilter->IBaseFilter_iface.lpVtbl = &TestFilter_Vtbl;
|
||||||
pTestFilter->refCount = 1;
|
pTestFilter->refCount = 1;
|
||||||
InitializeCriticalSection(&pTestFilter->csFilter);
|
InitializeCriticalSection(&pTestFilter->csFilter);
|
||||||
pTestFilter->csFilter.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": TestFilterImpl.csFilter");
|
|
||||||
pTestFilter->state = State_Stopped;
|
pTestFilter->state = State_Stopped;
|
||||||
|
|
||||||
ZeroMemory(&pTestFilter->filterInfo, sizeof(FILTER_INFO));
|
ZeroMemory(&pTestFilter->filterInfo, sizeof(FILTER_INFO));
|
||||||
|
@ -1149,7 +1148,6 @@ static HRESULT createtestfilter(const CLSID* pClsid, const TestFilterPinData *pi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CoTaskMemFree(pTestFilter->ppPins);
|
CoTaskMemFree(pTestFilter->ppPins);
|
||||||
pTestFilter->csFilter.DebugInfo->Spare[0] = 0;
|
|
||||||
DeleteCriticalSection(&pTestFilter->csFilter);
|
DeleteCriticalSection(&pTestFilter->csFilter);
|
||||||
CoTaskMemFree(pTestFilter);
|
CoTaskMemFree(pTestFilter);
|
||||||
|
|
||||||
|
@ -1213,7 +1211,6 @@ static ULONG WINAPI TestFilter_Release(IBaseFilter * iface)
|
||||||
|
|
||||||
CoTaskMemFree(This->ppPins);
|
CoTaskMemFree(This->ppPins);
|
||||||
|
|
||||||
This->csFilter.DebugInfo->Spare[0] = 0;
|
|
||||||
DeleteCriticalSection(&This->csFilter);
|
DeleteCriticalSection(&This->csFilter);
|
||||||
|
|
||||||
CoTaskMemFree(This);
|
CoTaskMemFree(This);
|
||||||
|
|
Loading…
Reference in a new issue