Diff between f5fcab32765df30f8d9a0ad5c71ce2702e3aa38f and 7eca3becceed3d44c0abf1610d93307a023c1c79

Changed Files

File Additions Deletions Status
mesh/node.c +1 -0 modified

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index d5e07ce..8ad7763 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -333,6 +333,7 @@ static void free_node_resources(void *data)
 	/* Free dynamic resources */
 	free_node_dbus_resources(node);
 	l_queue_destroy(node->elements, element_free);
+	mesh_agent_remove(node->agent);
 	mesh_config_release(node->cfg);
 	mesh_net_free(node->net);
 	l_free(node->storage_dir);