msxml3: Fix VT_BSTR case for IXMLHttpRequest::send().

This commit is contained in:
Nikolay Sivov 2011-12-21 06:48:50 +03:00 committed by Alexandre Julliard
parent 8c03b4e5f0
commit 9321ed7c39
1 changed files with 0 additions and 13 deletions

View File

@ -596,19 +596,6 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
}
WideCharToMultiByte(cp, 0, str, len, ptr, size, NULL, NULL);
if (cp == CP_UTF8) This->use_utf8_content = TRUE;
bsc->body = GlobalAlloc(GMEM_FIXED, size);
if (!bsc->body)
{
heap_free(bsc);
heap_free(ptr);
return E_OUTOFMEMORY;
}
send_data = GlobalLock(bsc->body);
memcpy(send_data, ptr, size);
GlobalUnlock(bsc->body);
heap_free(ptr);
break;
}
case VT_ARRAY|VT_UI1: