projects
/
profile
/
mobile
/
apps
/
native
/
music-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde9472
)
Fixed TSAM-10356 Robustness Error
26/100426/1
author
bhutani.92
<bhutani.92@samsung.com>
Mon, 28 Nov 2016 06:27:32 +0000
(11:57 +0530)
committer
bhutani.92
<bhutani.92@samsung.com>
Mon, 28 Nov 2016 06:27:32 +0000
(11:57 +0530)
Change-Id: I6ea967a413dfd2518e09e61e23fb76d430bc1853
Signed-off-by: bhutani.92 <bhutani.92@samsung.com>
src/setting/src/ms-key-ctrl.c
patch
|
blob
|
history
diff --git
a/src/setting/src/ms-key-ctrl.c
b/src/setting/src/ms-key-ctrl.c
index
7632f4c
..
9f21f9c
100755
(executable)
--- a/
src/setting/src/ms-key-ctrl.c
+++ b/
src/setting/src/ms-key-ctrl.c
@@
-104,6
+104,10
@@
ms_key_get_playlist_str(char **b_str)
MP_CHECK_VAL(b_str, -1);
int ret = 0;
ret = preference_get_string(MP_PREFKEY_PLAYLIST_VAL_STR, b_str);
+ if (ret != PREFERENCE_ERROR_NONE) {
+ ERROR_TRACE("Error in preference_get_string() [%d]", ret);
+ return -1;
+ }
if (*b_str == NULL) {
ERROR_TRACE("Fail to get %d ", ret);
return -1;