summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-toolkit-xre-nsAppRunner.cpp
blob: 48220793cb59b7ee551e2fd95667f13138e8e2db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- toolkit/xre/nsAppRunner.cpp~
+++ toolkit/xre/nsAppRunner.cpp
@@ -3133,7 +3133,7 @@ XRE_main(int argc, char* argv[], const n
     gQtOnlyArgv[gQtOnlyArgc] = nsnull;
 #endif
 #if defined(MOZ_WIDGET_GTK2)
-#ifdef MOZ_MEMORY
+#if defined(MOZ_MEMORY) || defined(__FreeBSD__)
     // Disable the slice allocator, since jemalloc already uses similar layout
     // algorithms, and using a sub-allocator tends to increase fragmentation.
     // This must be done before g_thread_init() is called.