From: Bart Polot Date: Wed, 17 Jun 2015 09:29:03 +0000 (+0000) Subject: - make sure tunnel queues are consistent X-Git-Tag: initial-import-from-subversion-38251~1738 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a68e10c83ee0bcfb0c29ddb6d9f3e387eff399e5;p=oweals%2Fgnunet.git - make sure tunnel queues are consistent --- 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) { if (NULL != q->cq) { + GNUNET_assert (NULL == q->tqd); GCC_cancel (q->cq); /* tun_message_sent() will be called and free q */ }