---
src/element.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/element.c b/src/element.c
index a4230b7..1dcc695 100644
--- a/src/element.c
+++ b/src/element.c
@@ -1463,6 +1463,8 @@ void __connman_element_cleanup(void)
g_node_traverse(element_root, G_POST_ORDER, G_TRAVERSE_ALL, -1,
free_node, NULL);
+ connman_element_unref(element_root->data);
+
g_node_destroy(element_root);
element_root = NULL;
--
1.7.0.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman