aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-10 18:54:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-10 18:54:04 +0000
commitc9344d0f4abd4f585f6838f11f88d84baf50f248 (patch)
tree6e686190d705c6f9980a2591485d1ca97de7555b /src
parent2bf739eadd89fcc7f414995ad4a535e9f38e432c (diff)
downloadgnunet-c9344d0f4abd4f585f6838f11f88d84baf50f248.tar.gz
gnunet-c9344d0f4abd4f585f6838f11f88d84baf50f248.zip
-fixing leak
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index cb08e68b2..ef677ed54 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -953,6 +953,11 @@ disconnect_neighbour (struct NeighbourMapEntry *n)
953 if (NULL != n->is_active) 953 if (NULL != n->is_active)
954 { 954 {
955 n->is_active->n = NULL; 955 n->is_active->n = NULL;
956 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
957 "Failing transmission of active message due to disconnect\n");
958 if (NULL != n->is_active->cont)
959 n->is_active->cont (n->is_active->cont_cls, GNUNET_SYSER);
960 GNUNET_free (n->is_active);
956 n->is_active = NULL; 961 n->is_active = NULL;
957 } 962 }
958 963