strmbase: Removed superflous NULL check (Coverity).
This commit is contained in:
parent
8521ebe79d
commit
8377e274a2
|
@ -130,8 +130,7 @@ HRESULT WINAPI OutputQueue_Destroy(OutputQueue *pOutputQueue)
|
|||
DeleteCriticalSection(&pOutputQueue->csQueue);
|
||||
CloseHandle(pOutputQueue->hProcessQueue);
|
||||
|
||||
if (pOutputQueue->SampleList)
|
||||
HeapFree(GetProcessHeap(),0,pOutputQueue->SampleList);
|
||||
HeapFree(GetProcessHeap(),0,pOutputQueue->SampleList);
|
||||
|
||||
IPin_Release((IPin*)pOutputQueue->pInputPin);
|
||||
HeapFree(GetProcessHeap(),0,pOutputQueue);
|
||||
|
|
Loading…
Reference in New Issue