Nikolay Sivov : msxml3: Fix allocated length for header list element.
Alexandre Julliard
julliard at winehq.org
Mon Jan 16 13:01:29 CST 2012
Module: wine
Branch: master
Commit: 05ea6855bffbfa5e9a5a11c1dc94ca398205d6bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05ea6855bffbfa5e9a5a11c1dc94ca398205d6bb
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Jan 16 00:38:16 2012 +0300
msxml3: Fix allocated length for header list element.
---
dlls/msxml3/httprequest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index ff4ab21..f2e8b5e 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -502,7 +502,7 @@ static void add_response_header(httprequest *This, const WCHAR *data, int len)
/* new header */
TRACE("got header %s:%s\n", debugstr_w(header), debugstr_w(value));
- entry = heap_alloc(sizeof(*header));
+ entry = heap_alloc(sizeof(*entry));
entry->header = header;
entry->value = value;
list_add_head(&This->respheaders, &entry->entry);
More information about the wine-cvs
mailing list