Commit 4301d3e5 authored by Alexandre Julliard's avatar Alexandre Julliard

Restored MakeCriticalSectionGlobal that got lost somewhere.

parent f8d321c2
......@@ -525,6 +525,8 @@ static BOOL HEAP_InitSubHeap( HEAP *heap, LPVOID address, DWORD flags,
/* Initialize critical section */
RtlInitializeCriticalSection( &heap->critSection );
if (flags & HEAP_SHARED)
MakeCriticalSectionGlobal( &heap->critSection ); /* FIXME: dll separation */
}
/* Create the first free block */
......
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