patch-Source_WebCore_platform_linux_MemoryPressureHandlerLinux_cpp 505 B

1234567891011
  1. --- webkitgtk-2.14.2.orig/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-10-16 10:00:46.000000000 +0200
  2. +++ webkitgtk-2.14.2/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp 2016-11-23 09:02:54.022866789 +0100
  3. @@ -305,7 +305,7 @@ void MemoryPressureHandler::respondToMem
  4. void MemoryPressureHandler::platformReleaseMemory(Critical)
  5. {
  6. -#ifdef __GLIBC__
  7. +#if defined(__GLIBC__) && !defined(__UCLIBC__)
  8. ReliefLogger log("Run malloc_trim");
  9. malloc_trim(0);
  10. #endif