ole32: Check ComposeWith() return value too (PVS-Studio).

This commit is contained in:
Nikolay Sivov 2015-03-13 11:32:47 +03:00 committed by Alexandre Julliard
parent bed1525fa4
commit 46914d8794
1 changed files with 2 additions and 0 deletions

View File

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