aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 583bad8..0c44130 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -16,6 +16,7 @@
#include <cmath>
#include <fcntl.h>
#include <unistd.h>
+#include <malloc.h>
#include "../../include/QuickMedia.hpp"
// TODO: Use string assign with string length instead of assigning to c string (which calls strlen)
@@ -1249,6 +1250,7 @@ namespace QuickMedia {
filter_encoded = url_param_encode(CONTINUE_FILTER);
additional_messages_queue.push(true);
+ malloc_trim(0);
}
#if 0