From e9dbaa33838419da6b4793d2701a52621d4ca43e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 19 Dec 2014 22:43:58 +0000 Subject: [PATCH] -fix double-free --- src/cadet/cadet_api.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index f1fc6f14b..ddd1755cc 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -1660,9 +1660,6 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel) th->notify (th->notify_cls, 0, NULL); } GNUNET_CADET_notify_transmit_ready_cancel (th); - - GNUNET_CONTAINER_DLL_remove (h->th_head, h->th_tail, th); - GNUNET_free (th); th = aux; } else -- 2.25.1