Author: pschweitzer
Date: Sat May 17 03:20:32 2008
New Revision: 33544
URL:
http://svn.reactos.org/svn/reactos?rev=33544&view=rev
Log:
Apply the same fix to dwnl
Modified:
trunk/reactos/base/applications/network/dwnl/dwnl.c
Modified: trunk/reactos/base/applications/network/dwnl/dwnl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/dwnl/dwnl.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/dwnl/dwnl.c [iso-8859-1] Sat May 17 03:20:32
2008
@@ -304,11 +304,9 @@
{
CBindStatusCallback *This;
- This = HeapAlloc(GetProcessHeap(), 0, sizeof(*This));
+ This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*This));
if (This == NULL)
return NULL;
-
- ZeroMemory(This, sizeof(*This));
This->lpIBindStatusCallbackVtbl = &vtblIBindStatusCallback;
This->ref = 1;