projects
/
platform
/
core
/
appfw
/
app-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0f1c1
)
Fix appcore_base_flush_memory API
08/171008/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Sun, 25 Feb 2018 22:55:10 +0000
(07:55 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Sun, 25 Feb 2018 22:56:00 +0000
(07:56 +0900)
- Releases elm cache memory
Change-Id: Ia500ae746ed636c4fe426c9d8eec50a0afaf9b6f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c
patch
|
blob
|
history
diff --git
a/src/base/appcore_base.c
b/src/base/appcore_base.c
index
cc311a9
..
34d9278
100644
(file)
--- a/
src/base/appcore_base.c
+++ b/
src/base/appcore_base.c
@@
-1090,6
+1090,11
@@
EXPORT_API void appcore_base_fini(void)
EXPORT_API int appcore_base_flush_memory(void)
{
int (*sqlite3_free_heap_memory)(int);
+ void (*elm_free_all_cache)(void);
+
+ elm_free_all_cache = dlsym(RTLD_DEFAULT, "elm_cache_all_flush");
+ if (elm_free_all_cache)
+ elm_free_all_cache();
sqlite3_free_heap_memory = dlsym(RTLD_DEFAULT,
"sqlite3_release_memory");