projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d59006f
)
Fix double free
17/241017/5
author
Changgyu Choi
<changyu.choi@samsung.com>
Fri, 14 Aug 2020 00:19:11 +0000
(09:19 +0900)
committer
Changgyu Choi
<changyu.choi@samsung.com>
Fri, 14 Aug 2020 00:31:02 +0000
(09:31 +0900)
Change-Id: I42d55f853c852d73667de28d7665341023f9103c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/launchpad/src/launchpad.c
patch
|
blob
|
history
diff --git
a/src/launchpad/src/launchpad.c
b/src/launchpad/src/launchpad.c
index
c3ec424
..
ef73a44
100644
(file)
--- a/
src/launchpad/src/launchpad.c
+++ b/
src/launchpad/src/launchpad.c
@@
-1882,10
+1882,9
@@
static int __dispatch_cmd_add_app_defined_loader(bundle *kb)
false,
true);
-
free(
extra);
+
bundle_free_encoded_rawdata(&
extra);
if (cpc == NULL) {
_E("cpc is NULL");
- bundle_free_encoded_rawdata(&extra);
return -ENOMEM;
}
} else {
@@
-2750,7
+2749,7
@@
static void __add_slot_from_info(gpointer data, gpointer user_data)
info->is_hydra,
info->app_check);
-
free(
extra);
+
bundle_free_encoded_rawdata(&
extra);
if (cpc == NULL)
return;