Fixed bug in system heap creation when it already exists.
This commit is contained in:
parent
0e1cbfd5b0
commit
77dc009d91
|
@ -106,6 +106,7 @@ inline static HANDLE HEAP_CreateSystemHeap(void)
|
|||
{
|
||||
/* wait for the heap to be initialized */
|
||||
WaitForSingleObject( event, INFINITE );
|
||||
systemHeap = (HANDLE)base;
|
||||
}
|
||||
CloseHandle( map );
|
||||
return systemHeap;
|
||||
|
|
Loading…
Reference in New Issue