From ca64ac0f5edb440e40cfda0e08650959cacb6038 Mon Sep 17 00:00:00 2001 From: "gs86.lee" Date: Fri, 13 May 2016 07:53:33 +0900 Subject: [PATCH] Release free memory from the top of the heap(using malloc_trim()) Change-Id: I5ba6c91888f01a2fef44966b7239c10cddaccb20 --- src/mobile/starter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mobile/starter.c b/src/mobile/starter.c index 5b1711a..5eff909 100755 --- a/src/mobile/starter.c +++ b/src/mobile/starter.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -313,6 +314,7 @@ int main(int argc, char *argv[]) elm_init(argc, argv); _init(&ad); + malloc_trim(0); elm_run(); _fini(&ad); -- 2.7.4