Juan Lang : wininet: Don't use HEAP_ZERO_MEMORY on memory that' s fully initialized.
Alexandre Julliard
julliard at winehq.org
Thu Nov 8 07:07:38 CST 2007
Module: wine
Branch: master
Commit: 9adf83e90dbac23a122e16e51705d5fc83b15f8f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9adf83e90dbac23a122e16e51705d5fc83b15f8f
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Nov 7 14:58:14 2007 -0800
wininet: 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(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;
More information about the wine-cvs
mailing list