projects
/
platform
/
core
/
appfw
/
aul-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b35c74
)
Add an exception handling about getting shared data path
43/86443/1
accepted/tizen/common/20160901.143544
accepted/tizen/ivi/20160901.104051
accepted/tizen/mobile/20160901.104002
accepted/tizen/tv/20160901.104018
accepted/tizen/wearable/20160901.104034
submit/tizen/20160901.074409
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Sep 2016 07:28:52 +0000
(16:28 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Sep 2016 07:28:52 +0000
(16:28 +0900)
Change-Id: I3dbb1c8e5a5b327eafaa57faaa7aca5d69f9a5c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul_path.c
patch
|
blob
|
history
diff --git
a/src/aul_path.c
b/src/aul_path.c
index
c76f5a3
..
9f629a8
100644
(file)
--- a/
src/aul_path.c
+++ b/
src/aul_path.c
@@
-323,6
+323,9
@@
API int aul_get_app_shared_data_path_by_appid(const char *appid, char **path)
int ret;
char *ret_path;
+ if (path == NULL)
+ return AUL_R_EINVAL;
+
ret = __get_path(&ret_path, appid, _SHARED_DATA_DIR, getuid());
if (ret != AUL_R_OK)
return ret;