aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 9494e80..c186b9c 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -335,7 +335,6 @@ namespace QuickMedia {
void Body::clear_cache() {
clear_text_cache();
clear_thumbnails();
- malloc_trim(0);
}
void Body::clear_text_cache() {
@@ -348,6 +347,7 @@ namespace QuickMedia {
void Body::clear_thumbnails() {
item_thumbnail_textures.clear();
+ malloc_trim(0);
}
BodyItem* Body::get_selected() const {