Commit 7c5f639c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole32: Initialize returned value for disconnected case too in…

ole32: Initialize returned value for disconnected case too in proxy_manager_get_remunknown() (Coverity).
parent 5c0e48e8
......@@ -1045,8 +1045,11 @@ static HRESULT proxy_manager_get_remunknown(struct proxy_manager * This, IRemUnk
IRemUnknown_AddRef(*remunk);
}
else if (!This->parent)
{
/* disconnected - we can't create IRemUnknown */
*remunk = NULL;
hr = S_FALSE;
}
else
{
STDOBJREF stdobjref;
......
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