diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 5a7052c56..5f0f660b4 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -3654,6 +3654,9 @@ GCT_destroy (struct CadetTunnel *t) | |||
3654 | GNUNET_CONTAINER_multipeermap_remove (tunnels, | 3654 | GNUNET_CONTAINER_multipeermap_remove (tunnels, |
3655 | GCP_get_id (t->peer), t)); | 3655 | GCP_get_id (t->peer), t)); |
3656 | 3656 | ||
3657 | while (NULL != t->tq_head) | ||
3658 | unqueue_data (t->tq_head); | ||
3659 | |||
3657 | for (iter_c = t->connection_head; NULL != iter_c; iter_c = next_c) | 3660 | for (iter_c = t->connection_head; NULL != iter_c; iter_c = next_c) |
3658 | { | 3661 | { |
3659 | next_c = iter_c->next; | 3662 | next_c = iter_c->next; |