Nikolay Sivov : msxml3: Fix VT_BSTR case for IXMLHttpRequest::send().
Alexandre Julliard
julliard at winehq.org
Wed Dec 21 12:38:07 CST 2011
Module: wine
Branch: master
Commit: 9321ed7c39d3877a555ee5e70b91a1b3b71af434
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9321ed7c39d3877a555ee5e70b91a1b3b71af434
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Dec 21 06:48:50 2011 +0300
msxml3: Fix VT_BSTR case for IXMLHttpRequest::send().
---
dlls/msxml3/httprequest.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index 3000037..c3d5df9 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -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:
More information about the wine-cvs
mailing list