projects
/
apps
/
native
/
starter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44eaa63
)
Release free memory from the top of the heap(using malloc_trim())
41/69341/1
accepted/tizen/common/20160513.123713
accepted/tizen/ivi/20160513.082400
accepted/tizen/mobile/20160513.082355
accepted/tizen/wearable/20160513.082353
submit/tizen/20160513.053800
author
gs86.lee
<gs86.lee@samsung.com>
Thu, 12 May 2016 22:53:33 +0000
(07:53 +0900)
committer
gs86.lee
<gs86.lee@samsung.com>
Thu, 12 May 2016 22:53:33 +0000
(07:53 +0900)
Change-Id: I5ba6c91888f01a2fef44966b7239c10cddaccb20
src/mobile/starter.c
patch
|
blob
|
history
diff --git
a/src/mobile/starter.c
b/src/mobile/starter.c
index
5b1711a
..
5eff909
100755
(executable)
--- a/
src/mobile/starter.c
+++ b/
src/mobile/starter.c
@@
-22,6
+22,7
@@
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
+#include <malloc.h>
#include <aul.h>
#include <vconf.h>
@@
-313,6
+314,7
@@
int main(int argc, char *argv[])
elm_init(argc, argv);
_init(&ad);
+ malloc_trim(0);
elm_run();
_fini(&ad);