Big merge: thanks alex and greatlord. Not a complete merge but most
[reactos.git] / reactos / boot / freeldr / freeldr / mm / mm.c
index 3151393..ba11b92 100644 (file)
@@ -83,6 +83,7 @@ PVOID MmAllocateMemory(ULONG MemorySize)
        {
                DbgPrint((DPRINT_MEMORY, "Memory allocation failed. Not enough free memory to allocate %d bytes. AllocationCount: %d\n", MemorySize, AllocationCount));
                UiMessageBoxCritical("Memory allocation failed: out of memory.");
+               while(1);
                return NULL;
        }