From 44818ce0f9bfd36e68b5da0fcb8b6ed3d4c33709 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 14 Apr 2014 09:43:40 +0400 Subject: [PATCH] quartz: Check GetCurFile() return value (Coverity). --- dlls/quartz/filtergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 720ba2deece..771a3306a28 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -1680,7 +1680,7 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilter(IFilterGraph2 *iface, LPCWSTR } /* The file has been already loaded */ - IFileSourceFilter_GetCurFile(pfile, &filename, &mt); + hr = IFileSourceFilter_GetCurFile(pfile, &filename, &mt); if (FAILED(hr)) { WARN("GetCurFile (%x)\n", hr); goto error;