aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_peer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c
index 03c6f724d..891d32e39 100644
--- a/src/cadet/gnunet-service-cadet_peer.c
+++ b/src/cadet/gnunet-service-cadet_peer.c
@@ -753,6 +753,8 @@ peer_destroy (struct CadetPeer *peer)
753 GNUNET_assert (0 == GNUNET_CONTAINER_multihashmap_size (peer->connections)); 753 GNUNET_assert (0 == GNUNET_CONTAINER_multihashmap_size (peer->connections));
754 GNUNET_CONTAINER_multihashmap_destroy (peer->connections); 754 GNUNET_CONTAINER_multihashmap_destroy (peer->connections);
755 } 755 }
756 if (NULL != peer->core_transmit)
757 GNUNET_CORE_notify_transmit_ready_cancel (peer->core_transmit);
756 GNUNET_free_non_null (peer->hello); 758 GNUNET_free_non_null (peer->hello);
757 GNUNET_free (peer); 759 GNUNET_free (peer);
758 return GNUNET_OK; 760 return GNUNET_OK;