Commit 44818ce0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 52c6c6a1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment