projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dd792
)
memoryleak: remove the element for real
author
Jukka Rissanen
<jukka.rissanen@nokia.com>
Fri, 31 Dec 2010 09:57:12 +0000
(11:57 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 31 Dec 2010 18:11:17 +0000
(10:11 -0800)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
cb0ca22
..
bfd19b5
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-408,6
+408,8
@@
static void connection_remove(struct connman_element *element)
if (data != NULL)
set_default_gateway(data);
}
+
+ connman_element_unref(element);
}
static struct connman_driver connection_driver = {