Module: wine Branch: master Commit: b964758543d9d58b6f29d0c52716a358bee7dd8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=b964758543d9d58b6f29d0c527...
Author: Marcus Meissner marcus@jet.franken.de Date: Mon Apr 16 08:53:47 2012 +0200
strmbase: Use correct *ppv (Coverity).
---
dlls/strmbase/qualitycontrol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/strmbase/qualitycontrol.c b/dlls/strmbase/qualitycontrol.c index b73f912..f6c9ea7 100644 --- a/dlls/strmbase/qualitycontrol.c +++ b/dlls/strmbase/qualitycontrol.c @@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(strmbase_qc); HRESULT QualityControlImpl_Create(IPin *input, IBaseFilter *self, QualityControlImpl **ppv) { QualityControlImpl *This; *ppv = HeapAlloc(GetProcessHeap(),0,sizeof(QualityControlImpl)); - if (!ppv) + if (!*ppv) return E_OUTOFMEMORY; This = *ppv; This->input = input;