Commit 6d8c6c5a authored by Alexandre Julliard's avatar Alexandre Julliard

msxml: Don't use VariantClear on an uninitialized variant.

parent a781bbf0
......@@ -219,7 +219,7 @@ static HRESULT WINAPI xmlelem_getAttribute(IXMLElement *iface, BSTR strPropertyN
if (!PropertyValue)
return E_INVALIDARG;
VariantClear(PropertyValue);
VariantInit(PropertyValue);
V_BSTR(PropertyValue) = NULL;
if (!strPropertyName)
......
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