projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8622192
)
Fix possible double-free issue
18/103018/2
accepted/tizen/3.0/common/20161208.153348
accepted/tizen/3.0/ivi/20161208.062725
accepted/tizen/3.0/mobile/20161208.062406
accepted/tizen/3.0/tv/20161208.062550
accepted/tizen/3.0/wearable/20161208.062635
submit/tizen_3.0/20161207.072901
author
Junghyun Yeon
<jungh.yeon@samsung.com>
Wed, 7 Dec 2016 04:56:21 +0000
(13:56 +0900)
committer
jongmyeong ko
<jongmyeong.ko@samsung.com>
Wed, 7 Dec 2016 07:16:26 +0000
(23:16 -0800)
Change-Id: I34831c8038e1e63d75ee46e4033930fab663cb26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkgmgrinfo_appinfo.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_appinfo.c
b/src/pkgmgrinfo_appinfo.c
index
7f32a20
..
c083171
100644
(file)
--- a/
src/pkgmgrinfo_appinfo.c
+++ b/
src/pkgmgrinfo_appinfo.c
@@
-589,6
+589,7
@@
static int _appinfo_get_applications(uid_t db_uid, uid_t uid,
(gconstpointer)info->appid)) {
free(info->appid);
free(info);
+ info = NULL;
continue;
}
_save_column_str(stmt, idx++, &info->component);