ole32: Handle Stat() failure in OleLoad() (PVS-Studio).
This commit is contained in:
parent
24dce2b229
commit
0e24c33332
@ -1279,6 +1279,8 @@ HRESULT WINAPI OleLoad(
|
||||
* Get the class ID for the object.
|
||||
*/
|
||||
hres = IStorage_Stat(pStg, &storageInfo, STATFLAG_NONAME);
|
||||
if (FAILED(hres))
|
||||
return hres;
|
||||
|
||||
/*
|
||||
* Now, try and create the handler for the object
|
||||
|
Loading…
x
Reference in New Issue
Block a user