projects
/
platform
/
core
/
api
/
system-settings.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix to check SYSTEM_SETTINGS_KEY_AUTOMATIC_TIME_UPDATE feature
[platform/core/api/system-settings.git]
/
src
/
sst_time_N_locale.c
diff --git
a/src/sst_time_N_locale.c
b/src/sst_time_N_locale.c
index
35e707a
..
6116f5a
100644
(file)
--- a/
src/sst_time_N_locale.c
+++ b/
src/sst_time_N_locale.c
@@
-43,6
+43,7
@@
int sst_locale_get_country(sst_interface *iface, char **value)
}
if (sizeof(country) <= i) {
ERR("Invalid locale(%s)", locale);
+ free(locale);
return SYSTEM_SETTINGS_ERROR_IO_ERROR;
}