diff options
-rw-r--r-- | src/multicast/gnunet-service-multicast.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index 83aee846c..ea64c547e 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c | |||
@@ -423,6 +423,11 @@ cleanup_member (struct Member *mem) | |||
423 | GNUNET_free (mem->join_dcsn); | 423 | GNUNET_free (mem->join_dcsn); |
424 | mem->join_dcsn = NULL; | 424 | mem->join_dcsn = NULL; |
425 | } | 425 | } |
426 | if (NULL != mem->origin_channel) | ||
427 | { | ||
428 | GNUNET_CADET_channel_destroy (mem->origin_channel->channel); | ||
429 | mem->origin_channel = NULL; | ||
430 | } | ||
426 | GNUNET_CONTAINER_multihashmap_remove (members, &grp->pub_key_hash, mem); | 431 | GNUNET_CONTAINER_multihashmap_remove (members, &grp->pub_key_hash, mem); |
427 | GNUNET_free (mem); | 432 | GNUNET_free (mem); |
428 | } | 433 | } |