mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-10 23:11:17 +02:00
13 lines
410 B
Diff
13 lines
410 B
Diff
--- webkitgtk-2.10.3/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp.orig
|
|
+++ webkitgtk-2.10.3/Source/WebCore/platform/linux/MemoryPressureHandlerLinux.cpp
|
|
@@ -202,7 +202,9 @@
|
|
void MemoryPressureHandler::platformReleaseMemory(Critical)
|
|
{
|
|
ReliefLogger log("Run malloc_trim");
|
|
+#if defined(__GLIBC__)
|
|
malloc_trim(0);
|
|
+#endif
|
|
}
|
|
|
|
void MemoryPressureHandler::ReliefLogger::platformLog()
|