>From 28b21aa1470f5e94b13f0b88453a4d0daf2c3237 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed, 21 Dec 2011 06:48:50 +0300
Subject: [PATCH 2/2] 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:
-- 
1.5.6.5

