Commit 77dc009d authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed bug in system heap creation when it already exists.

parent 0e1cbfd5
...@@ -106,6 +106,7 @@ inline static HANDLE HEAP_CreateSystemHeap(void) ...@@ -106,6 +106,7 @@ inline static HANDLE HEAP_CreateSystemHeap(void)
{ {
/* wait for the heap to be initialized */ /* wait for the heap to be initialized */
WaitForSingleObject( event, INFINITE ); WaitForSingleObject( event, INFINITE );
systemHeap = (HANDLE)base;
} }
CloseHandle( map ); CloseHandle( map );
return systemHeap; return systemHeap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment