From 05ea6855bffbfa5e9a5a11c1dc94ca398205d6bb Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 16 Jan 2012 00:38:16 +0300 Subject: [PATCH] msxml3: Fix allocated length for header list element. --- dlls/msxml3/httprequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c index ff4ab219a63..f2e8b5eb572 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);