ole32: Initialize returned value for disconnected case too in proxy_manager_get_remunknown() (Coverity).
This commit is contained in:
parent
5c0e48e8ca
commit
7c5f639cb8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue