projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7bc8a0
)
Fix crash while freeing privilege
60/54060/1
accepted/tizen/mobile/20151212.071024
accepted/tizen/tv/20151212.072528
accepted/tizen/wearable/20151212.073123
submit/tizen/20151211.064411
author
Semun Lee
<sm79.lee@samsung.com>
Fri, 11 Dec 2015 06:19:55 +0000
(15:19 +0900)
committer
Semun Lee
<sm79.lee@samsung.com>
Fri, 11 Dec 2015 06:19:55 +0000
(15:19 +0900)
Change-Id: I12c5c5b17dcf59c3b3797984f1d8075eaf35df12
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
src/common/step/step_privilege_compatibility.cc
patch
|
blob
|
history
diff --git
a/src/common/step/step_privilege_compatibility.cc
b/src/common/step/step_privilege_compatibility.cc
index
ae2ad5d
..
cb47963
100644
(file)
--- a/
src/common/step/step_privilege_compatibility.cc
+++ b/
src/common/step/step_privilege_compatibility.cc
@@
-56,7
+56,7
@@
bool TranslatePrivilegesForCompatibility(manifest_x* m) {
g_list_free_full(m->privileges, free);
m->privileges = nullptr;
for (GList* l = mapped_privilege_list; l != NULL; l = l->next) {
- m->privileges = g_list_append(m->privileges,
(char*)l->data
);
+ m->privileges = g_list_append(m->privileges,
strdup((char*)l->data)
);
}
g_list_free_full(mapped_privilege_list, free);