Diff between 841b7ebe0fc6f14a2fea4bc56b2d667d1e16cab9 and bce450161229a32310f3d7195b72141c4ae204c2

Changed Files

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

Full Patch

diff --git a/mesh/node.c b/mesh/node.c
index 9f0f150..3e888ce 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -2388,7 +2388,7 @@ void node_property_changed(struct mesh_node *node, const char *property)
 {
 	struct l_dbus *bus = dbus_get_bus();
 
-	if (bus)
+	if (bus && node->obj_path)
 		l_dbus_property_changed(dbus_get_bus(), node->obj_path,
 						MESH_NODE_INTERFACE, property);
 }