Commit in reactos/lib/msvcrt/wine on MAIN
heap.c+2-21.2 -> 1.3
- Use malloc/free in C++ new/delete operator implementation (resolves heap issues with Mozilla Firefox).

reactos/lib/msvcrt/wine
heap.c 1.2 -> 1.3
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);
 }
 
 
CVSspam 0.2.8