aboutsummaryrefslogtreecommitdiffstats
path: root/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/baloo/no-malloc-xapiandatabase-4.13.3.patch')
-rw-r--r--testing/baloo/no-malloc-xapiandatabase-4.13.3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
new file mode 100644
index 0000000000..9fe8d63337
--- /dev/null
+++ b/testing/baloo/no-malloc-xapiandatabase-4.13.3.patch
@@ -0,0 +1,12 @@
+--- a/src/xapian/xapiandatabase.cpp
++++ b/src/xapian/xapiandatabase.cpp
+@@ -140,9 +140,6 @@
+ m_docsToAdd.clear();
+ m_docsToRemove.clear();
+
+-#ifdef __GNUC__
+- malloc_trim(0);
+-#endif
+ }
+
+ XapianDocument XapianDatabase::document(uint id)