ole32: Initialize returned value for disconnected case too in proxy_manager_get_remunknown() (Coverity).

This commit is contained in:
Nikolay Sivov 2015-05-31 17:51:52 +03:00 committed by Alexandre Julliard
parent 5c0e48e8ca
commit 7c5f639cb8

View File

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