quartz: Check GetCurFile() return value (Coverity).
This commit is contained in:
parent
52c6c6a1d1
commit
44818ce0f9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue