summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/xulrunner-mozalloc.patch
blob: 31027a23e843b7935362ea10a113a36a2f0b2783 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-2.0.orig/memory/mozalloc/mozalloc.cpp
+++ mozilla-2.0/memory/mozalloc/mozalloc.cpp
@@ -237,7 +237,7 @@
         return 0;
 
 #if defined(MOZ_MEMORY)
-    return malloc_usable_size(ptr);
+    return 0;
 #elif defined(XP_MACOSX)
     return malloc_size(ptr);
 #elif defined(XP_WIN)