mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
14 lines
409 B
Diff
14 lines
409 B
Diff
diff --git a/src/Screen.cpp b/src/Screen.cpp
|
|
index e5fb76c1..d4d81d5f 100644
|
|
--- a/src/Screen.cpp
|
|
+++ b/src/Screen.cpp
|
|
@@ -1801,7 +1801,7 @@ void Screen::setScroll(const HistoryType &t, bool copyPreviousScroll)
|
|
|
|
#ifdef HAVE_MALLOC_H
|
|
#ifdef Q_OS_LINUX
|
|
-#ifdef __GNUC__
|
|
+#ifdef __GLIBC__
|
|
// We might have been using gigabytes of memory, so make sure it is actually released
|
|
malloc_trim(0);
|
|
#endif
|