projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8f27b
)
config: Call g_clear_error to prevent memory leak
author
Danny Jeongseok Seo
<s.seo@samsung.com>
Mon, 3 Sep 2012 11:45:19 +0000
(20:45 +0900)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 7 Sep 2012 05:36:56 +0000
(08:36 +0300)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index
9ea75f9
..
4686914
100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-455,6
+455,7
@@
static int load_config(struct connman_config *config)
config->protected = protected;
else
config->protected = TRUE;
+ g_clear_error(&error);
groups = g_key_file_get_groups(keyfile, &length);