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:
068fbcf
)
[wearable] Release free memory from top of the heap
44/69544/1
accepted/tizen/wearable/20160516.091806
submit/tizen_wearable/20160516.012742
author
gs86.lee
<gs86.lee@samsung.com>
Mon, 16 May 2016 00:58:33 +0000
(09:58 +0900)
committer
gs86.lee
<gs86.lee@samsung.com>
Mon, 16 May 2016 00:58:33 +0000
(09:58 +0900)
Change-Id: I84958512d67f13ba77de0f2748b17e91936b4529
src/wearable/starter.c
patch
|
blob
|
history
diff --git
a/src/wearable/starter.c
b/src/wearable/starter.c
index 8fa9362146837edcf22534693f3a976df43ccbd9..d25449a51d76cd3285c507cec5f3d936e2e914a8 100755
(executable)
--- a/
src/wearable/starter.c
+++ b/
src/wearable/starter.c
@@
-27,6
+27,7
@@
#include <signal.h>
#include <dd-deviced.h>
#include <Ecore_Wayland.h>
+#include <malloc.h>
#include "hw_key.h"
#include "util.h"
@@
-200,6
+201,11
@@
int main(int argc, char *argv[])
_init();
+ /*
+ * Release free memory from top of the heap
+ */
+ malloc_trim(0);
+
elm_run();
_fini();