diff options
author | Susnata Sovalin <s.sovalin@samsung.com> | 2019-10-18 10:36:32 +0530 |
---|---|---|
committer | Susnata Sovalin <s.sovalin@samsung.com> | 2019-10-18 10:36:32 +0530 |
commit | 594738089be13237a091662e2c5cd26b748e7f02 (patch) | |
tree | 78705e0c43e6d99e24c1fa49c1a59c69b454b32d | |
parent | 16dd29e8014a83a370a9b5cea6229eb41141f5bb (diff) | |
download | lbs-setting-accepted/tizen_5.5_unified.tar.gz lbs-setting-accepted/tizen_5.5_unified.tar.bz2 lbs-setting-accepted/tizen_5.5_unified.zip |
Coverity issue fixtizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.0_hotfix/20201103.115105submit/tizen_6.0_hotfix/20201102.192905submit/tizen_6.0/20201029.205505submit/tizen_5.5_wearable_hotfix/20201027.114701submit/tizen_5.5_wearable_hotfix/20201026.1843010submit/tizen_5.5_mobile_hotfix/20201027.114301submit/tizen_5.5_mobile_hotfix/20201026.1851010submit/tizen_5.5/20191031.000013submit/tizen_5.5/20191031.000011submit/tizen_5.5/20191031.000009submit/tizen/20191018.051429accepted/tizen/unified/20191018.074223accepted/tizen/6.0/unified/hotfix/20201103.045751accepted/tizen/6.0/unified/20201030.103134accepted/tizen/5.5/unified/wearable/hotfix/20201027.092103accepted/tizen/5.5/unified/mobile/hotfix/20201027.060620accepted/tizen/5.5/unified/20191031.033643tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
Change-Id: Id810d1cc6e26ad61c7c9b77648af8383f2232f72
Signed-off-by: Susnata Sovalin <s.sovalin@samsung.com>
-rw-r--r-- | src/lbs-setting.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lbs-setting.c b/src/lbs-setting.c index 9e6b931..18eda15 100644 --- a/src/lbs-setting.c +++ b/src/lbs-setting.c @@ -124,8 +124,12 @@ static void _app_language_changed_cb(app_event_info_h event_info, void *user_dat LS_FUNC_ENTER char *locale = vconf_get_str(VCONFKEY_LANGSET); - if (locale) + + if (locale) { elm_language_set(locale); + free(locale); + locale = NULL; + } } int main(int argc, char *argv[]) |