quartz: Check GetCurFile() return value (Coverity).

This commit is contained in:
Nikolay Sivov 2014-04-14 09:43:40 +04:00 committed by Alexandre Julliard
parent 52c6c6a1d1
commit 44818ce0f9
1 changed files with 1 additions and 1 deletions

View File

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