[Android] Make sure to unallocate the correct memory size in MemArena.

This commit is contained in:
Ryan Houdek 2013-08-16 04:55:33 -05:00
parent 82e9bed20e
commit 367f294ed2
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ u8* MemArena::Find4GBBase()
PanicAlert("Failed to map 1 GB of memory space: %s", strerror(errno)); PanicAlert("Failed to map 1 GB of memory space: %s", strerror(errno));
return 0; return 0;
} }
munmap(base, 0x31000000); munmap(base, MemSize);
return static_cast<u8*>(base); return static_cast<u8*>(base);
#endif #endif
#endif #endif