aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/xulrunner-mozalloc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xulrunner/xulrunner-mozalloc.patch')
-rw-r--r--main/xulrunner/xulrunner-mozalloc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xulrunner/xulrunner-mozalloc.patch b/main/xulrunner/xulrunner-mozalloc.patch
new file mode 100644
index 0000000000..31027a23e8
--- /dev/null
+++ b/main/xulrunner/xulrunner-mozalloc.patch
@@ -0,0 +1,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)