forked from Mirrors/wine-wine
Fixed bug in system heap creation when it already exists.
parent
0e1cbfd5b0
commit
77dc009d91
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue