mshtml: Initialize output value before passing it to VariantCopy.
This commit is contained in:
parent
6919c86601
commit
25dee9f5be
|
@ -482,6 +482,7 @@ static HRESULT WINAPI HTMLEventObj_get_returnValue(IHTMLEventObj *iface, VARIANT
|
|||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
V_VT(p) = VT_EMPTY;
|
||||
return VariantCopy(p, &This->return_value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue