aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 4f4dbfefa..9c7a70a96 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -368,7 +368,13 @@ enum State
368 S_DISCONNECT, 368 S_DISCONNECT,
369 369
370 /** 370 /**
371 * We're finished with the disconnect; clean up state now! 371 * We're finished with the disconnect; and are cleaning up the state
372 * now! We put the struct into this state when we are really in the
373 * task that calls 'free' on it and are about to remove the record
374 * from the map. We should never find a 'struct NeighbourMapEntry'
375 * in this state in the map. Accessing a 'struct NeighbourMapEntry'
376 * in this state virtually always means using memory that has been
377 * freed (the exception being the cleanup code in 'free_neighbour').
372 */ 378 */
373 S_DISCONNECT_FINISHED 379 S_DISCONNECT_FINISHED
374}; 380};