projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f037516
)
Fix memory leak (WGID 173557, 173558)
54/120954/1
accepted/tizen/3.0/common/20170327.141159
accepted/tizen/3.0/ivi/20170327.104501
accepted/tizen/3.0/mobile/20170327.104317
accepted/tizen/3.0/tv/20170327.104403
accepted/tizen/3.0/wearable/20170327.104435
submit/tizen_3.0/20170327.043525
author
chleun.moon
<chleun.moon@samsung.com>
Mon, 27 Mar 2017 01:52:08 +0000
(10:52 +0900)
committer
chleun.moon
<chleun.moon@samsung.com>
Mon, 27 Mar 2017 01:52:16 +0000
(10:52 +0900)
Change-Id: Id85b0aeb35a7e9669674c7961ff889ed5967214b
Signed-off-by: cheoleun <chleun.moon@samsung.com>
src/wifi-config.c
patch
|
blob
|
history
diff --git
a/src/wifi-config.c
b/src/wifi-config.c
index
615f28f
..
95adc55
100755
(executable)
--- a/
src/wifi-config.c
+++ b/
src/wifi-config.c
@@
-431,6
+431,7
@@
static gboolean _set_field(const gchar *config_id, const gchar *key, const gchar
keyfile = __get_configuration_keyfile(group_name);
if (keyfile == NULL) {
ERR("Fail to __get_configuration_keyfile");
+ g_free(group_name);
return FALSE;
}
@@
-490,6
+491,7
@@
static gboolean _get_field(const gchar *config_id, const gchar *key, gchar **val
keyfile = __get_configuration_keyfile(group_name);
if (keyfile == NULL) {
ERR("Fail to __get_configuration_keyfile");
+ g_free(group_name);
return FALSE;
}