wininet: Don't use HEAP_ZERO_MEMORY on memory that's fully initialized.

This commit is contained in:
Juan Lang 2007-11-07 14:58:14 -08:00 committed by Alexandre Julliard
parent a1ab4a7eff
commit 9adf83e90d
1 changed files with 1 additions and 1 deletions

View File

@ -3293,7 +3293,7 @@ static BOOL HTTP_ProcessHeader(LPWININETHTTPREQW lpwhr, LPCWSTR field, LPCWSTR v
len = origlen + valuelen + ((ch > 0) ? 2 : 0);
lpsztmp = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, lphttpHdr->lpszValue, (len+1)*sizeof(WCHAR));
lpsztmp = HeapReAlloc(GetProcessHeap(), 0, lphttpHdr->lpszValue, (len+1)*sizeof(WCHAR));
if (lpsztmp)
{
lphttpHdr->lpszValue = lpsztmp;