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:
1cac40d
)
Add an exception handling
69/101569/1
accepted/tizen/3.0/common/20161203.012520
accepted/tizen/3.0/ivi/20161201.134736
accepted/tizen/3.0/mobile/20161201.134646
accepted/tizen/3.0/tv/20161201.134703
accepted/tizen/3.0/wearable/20161201.134721
submit/tizen_3.0/20161201.123639
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Dec 2016 12:21:40 +0000
(21:21 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Dec 2016 12:21:40 +0000
(21:21 +0900)
- Check whether the variable is null pointer or not
Change-Id: I70a8ffeac2003e0b5e5bc0fef758688e00faa642
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/pkgmgrinfo_appinfo.c
patch
|
blob
|
history
diff --git
a/src/pkgmgrinfo_appinfo.c
b/src/pkgmgrinfo_appinfo.c
index
ab9a330
..
ed618ac
100644
(file)
--- a/
src/pkgmgrinfo_appinfo.c
+++ b/
src/pkgmgrinfo_appinfo.c
@@
-459,6
+459,9
@@
static bool __check_app_storage_status(pkgmgrinfo_filter_x *tmp_filter)
pkgmgrinfo_node_x *tmp_node = NULL;
int property = -1;
+ if (tmp_filter == NULL)
+ return true;
+
property = _pminfo_appinfo_convert_to_prop_bool(PMINFO_APPINFO_PROP_APP_CHECK_STORAGE);
for (tmp_list = tmp_filter->list; tmp_list != NULL;
tmp_list = g_slist_next(tmp_list)) {