mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
msxml3: Re-initialise the variant so that VariantChangeType doesn't free the user string.
This commit is contained in:
parent
938dcab3f4
commit
8f9c39d2a8
1 changed files with 1 additions and 0 deletions
|
@ -706,6 +706,7 @@ static HRESULT WINAPI httprequest_open(IXMLHTTPRequest *iface, BSTR method, BSTR
|
|||
if (hr == S_OK)
|
||||
This->user = V_BSTR(&str);
|
||||
|
||||
VariantInit(&str);
|
||||
hr = VariantChangeType(&str, &password, 0, VT_BSTR);
|
||||
if (hr == S_OK)
|
||||
This->password = V_BSTR(&str);
|
||||
|
|
Loading…
Reference in a new issue