From 09b3341e2a198e8364ea24d6055f84ad301ac278 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Wed, 7 Nov 2007 14:58:14 -0800 Subject: [PATCH] Don't use HEAP_ZERO_MEMORY on memory that's fully initialized --- dlls/wininet/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 0a23979..5f27bd2 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -3293,7 +3293,7 @@ static BOOL HTTP_ProcessHeader(LPWININET 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; -- 1.4.1