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:
a9c6cc8
)
Fix a svace for memory leak
78/102978/1
author
taesub kim
<taesub.kim@samsung.com>
Wed, 7 Dec 2016 02:37:40 +0000
(11:37 +0900)
committer
taesub kim
<taesub.kim@samsung.com>
Wed, 7 Dec 2016 02:38:19 +0000
(11:38 +0900)
Change-Id: I11ee52cf8d380880d3eb5e456a9f6cd4d536618a
igned-off-by: Taesub Kim <taesub.kim@samsung.com>
src/wifi-config.c
patch
|
blob
|
history
diff --git
a/src/wifi-config.c
b/src/wifi-config.c
index
1c590dd
..
9a910e8
100755
(executable)
--- a/
src/wifi-config.c
+++ b/
src/wifi-config.c
@@
-217,9
+217,10
@@
static GKeyFile *__get_configuration_keyfile(const gchar *group_name)
keyfile = netconfig_keyfile_load(path);
if (keyfile == NULL) {
ERR("keyfile[%s] is NULL", path);
- g_free(path);
}
+ g_free(path);
+
return keyfile;
}