summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 3e9b7085a..1ec2371dc 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -3229,8 +3229,8 @@ handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client)
}
if (NULL != c->types)
GNUNET_CONTAINER_multihashmap_destroy (c->types);
- GNUNET_CONTAINER_DLL_remove (clients, clients_tail, c);
next = c->next;
+ GNUNET_CONTAINER_DLL_remove (clients, clients_tail, c);
GNUNET_free (c);
c = next;
}