msxml3: Fix allocated length for header list element.

This commit is contained in:
Nikolay Sivov 2012-01-16 00:38:16 +03:00 committed by Alexandre Julliard
parent 67448e5661
commit 05ea6855bf

View File

@ -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);