diff options
-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[]) |