Bug 826263 - Fix ~_MappableBuffer in the linker on Android. r=nfroyd

This commit is contained in:
Mike Hommey 2013-01-03 16:46:09 +01:00
parent 11eafddbc8
commit aed740d0a0

View File

@ -248,7 +248,7 @@ public:
#ifdef ANDROID
~_MappableBuffer() {
/* Free the additional page we allocated. See _MappableBuffer::Create */
::munmap(this + ((GetLength() + PAGE_SIZE) & ~(PAGE_SIZE - 1)), PAGE_SIZE);
::munmap(*this + ((GetLength() + PAGE_SIZE) & ~(PAGE_SIZE - 1)), PAGE_SIZE);
}
#endif