Diff between 4d3c4fd64d9b377e424ec62c7d4fde17dc937644 and 0cf59dd120ba1fee9f80ba840429af6e0af3d171

Changed Files

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

Full Patch

diff --git a/mesh/net.c b/mesh/net.c
index b173e1c..9b1fbd8 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -3120,6 +3120,7 @@ struct mesh_io *mesh_net_detach(struct mesh_net *net)
 	mesh_io_deregister_recv_cb(io, MESH_IO_FILTER_NET);
 
 	net->io = NULL;
+	l_queue_remove(nets, net);
 
 	return io;
 }