mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 15:40:43 +00:00
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
Block a user