From 6ddbc86b49b0adc7ad53d46a1527fa46f4131bd9 Mon Sep 17 00:00:00 2001 From: chanywa Date: Wed, 19 Jul 2017 07:20:19 +0900 Subject: [PATCH] Free a string value obtained using vconf_get_str() Change-Id: I8e3bee32d473f408f01023f89fe7b41fa0f2b81d --- heremaps-uc/src/heremaps-uc.c | 5 ++++- maps-plugin-here.changes | 10 ++++++++++ packaging/maps-plugin-here.spec | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/heremaps-uc/src/heremaps-uc.c b/heremaps-uc/src/heremaps-uc.c index bd9fa00..191993a 100644 --- a/heremaps-uc/src/heremaps-uc.c +++ b/heremaps-uc/src/heremaps-uc.c @@ -440,7 +440,10 @@ 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) elm_language_set(locale); + if (locale) { + elm_language_set(locale); + free(locale); + } } int main(int argc, char *argv[]) diff --git a/maps-plugin-here.changes b/maps-plugin-here.changes index 038cf23..12c7379 100644 --- a/maps-plugin-here.changes +++ b/maps-plugin-here.changes @@ -1,3 +1,13 @@ +[Version] maps-plugin-here_0.3.24 +[Date] 19 July 2017 +[Title] Free a string value obtained using vconf_get_str() +[Developer] Seechan Kim + +[Version] maps-plugin-here_0.3.23 +[Date] 11 July 2017 +[Title] Modify some routines for user consent +[Developer] Jongmun Woo + [Version] maps-plugin-here_0.3.22 [Date] 31 May 2017 [Title] Fix to set origin and destination when routing with waypoints. diff --git a/packaging/maps-plugin-here.spec b/packaging/maps-plugin-here.spec index c4041bc..e7125a7 100644 --- a/packaging/maps-plugin-here.spec +++ b/packaging/maps-plugin-here.spec @@ -1,6 +1,6 @@ Name: maps-plugin-here Summary: Tizen HERE Maps Plug-in Library -Version: 0.3.23 +Version: 0.3.24 Release: 1 Group: Location/Libraries License: Apache-2.0 and HERE -- 2.34.1