projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1830a08
)
Fix memory leak in reset_app_inst()
48/96048/4
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Mon, 7 Nov 2016 12:01:20 +0000
(15:01 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Wed, 9 Nov 2016 04:50:57 +0000
(20:50 -0800)
exe_path wasn't free on stop.
Change-Id: I50333bf1af793cd6aa28ae5e61310aa7ba0cee61
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
daemon/da_protocol.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol.c
b/daemon/da_protocol.c
index
a2e4281
..
1dc74e0
100644
(file)
--- a/
daemon/da_protocol.c
+++ b/
daemon/da_protocol.c
@@
-521,7
+521,7
@@
int check_running_status(const struct prof_session_t *prof_session)
static void reset_app_inst(struct user_space_inst_t *us_inst)
{
fm_app_clear();
- free_
data_list((struct data_list_t **)&
us_inst->app_inst_list);
+ free_
app(
us_inst->app_inst_list);
us_inst->app_num = 0;
us_inst->app_inst_list = NULL;
}