aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/gnunet-service-cadet_tunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c
index 0852394d0..5a7052c56 100644
--- a/src/cadet/gnunet-service-cadet_tunnel.c
+++ b/src/cadet/gnunet-service-cadet_tunnel.c
@@ -4125,6 +4125,7 @@ GCT_cancel (struct CadetTunnelQueue *q)
4125{ 4125{
4126 if (NULL != q->cq) 4126 if (NULL != q->cq)
4127 { 4127 {
4128 GNUNET_assert (NULL == q->tqd);
4128 GCC_cancel (q->cq); 4129 GCC_cancel (q->cq);
4129 /* tun_message_sent() will be called and free q */ 4130 /* tun_message_sent() will be called and free q */
4130 } 4131 }