diff options
-rw-r--r-- | src/element.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/element.c b/src/element.c index a4230b7c..1dcc695e 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; |