diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-19 22:43:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-19 22:43:58 +0000 |
commit | e9dbaa33838419da6b4793d2701a52621d4ca43e (patch) | |
tree | f9591497be21a22bc26eee7d67566d434b619ad0 /src/cadet | |
parent | 07dbe4664f1b830ea3b513664c3a7d3de09a0268 (diff) | |
download | gnunet-e9dbaa33838419da6b4793d2701a52621d4ca43e.tar.gz gnunet-e9dbaa33838419da6b4793d2701a52621d4ca43e.zip |
-fix double-free
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet_api.c | 3 |
1 files changed, 0 insertions, 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) | |||
1660 | th->notify (th->notify_cls, 0, NULL); | 1660 | th->notify (th->notify_cls, 0, NULL); |
1661 | } | 1661 | } |
1662 | GNUNET_CADET_notify_transmit_ready_cancel (th); | 1662 | GNUNET_CADET_notify_transmit_ready_cancel (th); |
1663 | |||
1664 | GNUNET_CONTAINER_DLL_remove (h->th_head, h->th_tail, th); | ||
1665 | GNUNET_free (th); | ||
1666 | th = aux; | 1663 | th = aux; |
1667 | } | 1664 | } |
1668 | else | 1665 | else |