ole32: Check ComposeWith() return value too (PVS-Studio).
This commit is contained in:
parent
bed1525fa4
commit
46914d8794
|
@ -722,6 +722,8 @@ CompositeMonikerImpl_GetTimeOfLastChange(IMoniker* iface, IBindCtx* pbc,
|
|||
IRunningObjectTable* rot;
|
||||
|
||||
res = IMoniker_ComposeWith(pmkToLeft, iface, FALSE, &leftMk);
|
||||
if (FAILED(res))
|
||||
return res;
|
||||
|
||||
res = IBindCtx_GetRunningObjectTable(pbc,&rot);
|
||||
if (FAILED(res))
|
||||
|
|
Loading…
Reference in New Issue