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
1 changed files with 1 additions and 1 deletions

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