Marcus Meissner : strmbase: Removed superflous NULL check (Coverity).
Alexandre Julliard
julliard at winehq.org
Tue Jun 14 11:57:47 CDT 2011
Module: wine
Branch: master
Commit: 8377e274a25c4a3205f7297155c9e8ce8989e67d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8377e274a25c4a3205f7297155c9e8ce8989e67d
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Tue Jun 14 13:00:07 2011 +0200
strmbase: Removed superflous NULL check (Coverity).
---
dlls/strmbase/outputqueue.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/strmbase/outputqueue.c b/dlls/strmbase/outputqueue.c
index 200e2da..4f4ecf8 100644
--- a/dlls/strmbase/outputqueue.c
+++ b/dlls/strmbase/outputqueue.c
@@ -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);
More information about the wine-cvs
mailing list