reactos/lib/msvcrt/wine
diff -u -r1.2 -r1.3
--- heap.c 9 Dec 2004 06:10:06 -0000 1.2
+++ heap.c 11 Dec 2004 00:24:03 -0000 1.3
@@ -48,7 +48,7 @@
*/
void* MSVCRT_operator_new(unsigned long size)
{
- void *retval = HeapAlloc(GetProcessHeap(), 0, size);
+ void *retval = malloc(size);
TRACE("(%ld) returning %p\n", size, retval);
LOCK_HEAP;
if(!retval && MSVCRT_new_handler)
@@ -63,7 +63,7 @@
void MSVCRT_operator_delete(void *mem)
{
TRACE("(%p)\n", mem);
- HeapFree(GetProcessHeap(), 0, mem);
+ free(mem);
}