summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusnata Sovalin <s.sovalin@samsung.com>2019-10-18 10:36:32 +0530
committerSusnata Sovalin <s.sovalin@samsung.com>2019-10-18 10:36:32 +0530
commit594738089be13237a091662e2c5cd26b748e7f02 (patch)
tree78705e0c43e6d99e24c1fa49c1a59c69b454b32d
parent16dd29e8014a83a370a9b5cea6229eb41141f5bb (diff)
downloadlbs-setting-accepted/tizen_5.5_unified_mobile_hotfix.tar.gz
lbs-setting-accepted/tizen_5.5_unified_mobile_hotfix.tar.bz2
lbs-setting-accepted/tizen_5.5_unified_mobile_hotfix.zip
Change-Id: Id810d1cc6e26ad61c7c9b77648af8383f2232f72 Signed-off-by: Susnata Sovalin <s.sovalin@samsung.com>
-rw-r--r--src/lbs-setting.c6
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[])