Fixed bug in system heap creation when it already exists.

This commit is contained in:
Alexandre Julliard 2001-12-26 20:38:53 +00:00
parent 0e1cbfd5b0
commit 77dc009d91
1 changed files with 1 additions and 0 deletions

View File

@ -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;