projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ea2d9
)
Fix resource leak
17/184117/1
author
Semun Lee
<semun.lee@samsung.com>
Mon, 16 Jul 2018 00:36:14 +0000
(09:36 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Mon, 16 Jul 2018 00:36:14 +0000
(09:36 +0900)
Change-Id: Icbb9a266e6304abb786f63675424239ca5179762
Signed-off-by: Semun Lee <semun.lee@samsung.com>
lib/src/shortcut_db.c
patch
|
blob
|
history
diff --git
a/lib/src/shortcut_db.c
b/lib/src/shortcut_db.c
index
6e76def
..
ad76302
100755
(executable)
--- a/
lib/src/shortcut_db.c
+++ b/
lib/src/shortcut_db.c
@@
-395,6
+395,7
@@
EAPI int shortcut_db_get_list(const char *package_name, GList **shortcut_list)
shortcut = (shortcut_info_s *)calloc(sizeof(shortcut_info_s), 1);
if (shortcut == NULL) {
free(i18n_name);
+ free(i18n_icon);
break;
}
shortcut->package_name = strdup(package_name);