mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-26 04:39:17 +08:00
fc9e3ff393
When a fixed mapping spans multiple free runs and a later gap cannot be backed, any earlier host allocations were leaked. Stage all allocations during the walk and insert MemoryRegions only after every gap has been backed successfully. On any failure, free all staged allocations. Fixes #472 🤖 Generated with Hermes Agent