MyMalloc must not zero the memory.
Modified: trunk/reactos/lib/setupapi/misc.c
_____
Modified: trunk/reactos/lib/setupapi/misc.c
--- trunk/reactos/lib/setupapi/misc.c 2005-01-24 09:41:00 UTC (rev
13246)
+++ trunk/reactos/lib/setupapi/misc.c 2005-01-24 11:53:36 UTC (rev
13247)
@@ -61,7 +61,7 @@
LPVOID WINAPI MyMalloc(DWORD dwSize)
{
- return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwSize);
+ return HeapAlloc(GetProcessHeap(), 0, dwSize);
}
Show replies by date