Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 880a668f704622a7ad7565a40857cf23cebc8a58 1 parent 209d60e
Mike Hommey authored January 03, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mozglue/linker/Mappable.cpp
2  mozglue/linker/Mappable.cpp
@@ -248,7 +248,7 @@ class _MappableBuffer: public MappedPtr
248 248
 #ifdef ANDROID
249 249
   ~_MappableBuffer() {
250 250
     /* Free the additional page we allocated. See _MappableBuffer::Create */
251  
-    ::munmap(this + ((GetLength() + PAGE_SIZE) & ~(PAGE_SIZE - 1)), PAGE_SIZE);
  251
+    ::munmap(*this + ((GetLength() + PAGE_SIZE) & ~(PAGE_SIZE - 1)), PAGE_SIZE);
252 252
   }
253 253
 #endif
254 254
 

0 notes on commit 880a668

Please sign in to comment.
Something went wrong with that request. Please try again.