Julian Seward 3c2f4aaaa5 Bug 1863120 - SharedMemory::FindFreeAddressSpace performs incorrect munmap on allocation failure. r=jld.
SharedMemory::FindFreeAddressSpace will bogusly try to do `munmap(MAP_FAILED, size)`
if the preceding `mmap` fails.  This patch guards the `munmap` with a failure check.

Differential Revision: https://phabricator.services.mozilla.com/D192799
2023-11-07 07:46:09 +00:00
..