diff options
author | Ickhee Woo <ickhee.woo@samsung.com> | 2016-09-22 13:23:45 +0900 |
---|---|---|
committer | Ickhee Woo <ickhee.woo@samsung.com> | 2016-09-22 13:32:31 +0900 |
commit | 7cbb1d09116a5ae3015055eacd2bf754ba22910f (patch) | |
tree | 6456df27bfd298fbeeb5edb1d4ed5e7bfc2ec7d6 | |
parent | d65761a06e7a7731c7868810e4a4d1976903829f (diff) | |
download | my-account-7cbb1d09116a5ae3015055eacd2bf754ba22910f.tar.gz my-account-7cbb1d09116a5ae3015055eacd2bf754ba22910f.tar.bz2 my-account-7cbb1d09116a5ae3015055eacd2bf754ba22910f.zip |
fix for svace issuesubmit/tizen_3.0_wearable/20161015.000004submit/tizen/20160922.043347accepted/tizen/wearable/20160922.233219accepted/tizen/3.0/wearable/20161015.083521
Change-Id: Id60572778bc355caa59ff20707b22cb4f0a03ca9
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
-rwxr-xr-x | wearable/app/src/my-account-view-main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wearable/app/src/my-account-view-main.c b/wearable/app/src/my-account-view-main.c index d295f36..a1e64e4 100755 --- a/wearable/app/src/my-account-view-main.c +++ b/wearable/app/src/my-account-view-main.c @@ -661,8 +661,6 @@ static bool __myaccount_get_account_app_info_cb(account_type_h account_type, voi ret = account_type_get_label_by_locale(account_type, "en_GB", &provider_name); else ret = account_type_get_label_by_locale(account_type, ad->current_language, &provider_name); - } else { - return FALSE; } if (ret != ACCOUNT_ERROR_NONE) { @@ -691,6 +689,9 @@ static bool __myaccount_get_account_app_info_cb(account_type_h account_type, voi return TRUE; } + if (ad == NULL) + return FALSE; + ad->account_app_list = g_list_append(ad->account_app_list, (void*)app_info); return TRUE; |