strmbase: Removed superflous NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2011-06-14 13:00:07 +02:00 committed by Alexandre Julliard
parent 8521ebe79d
commit 8377e274a2
1 changed files with 1 additions and 2 deletions

View File

@ -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);