gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 48/64: we have to destroy channels to the origin w


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 48/64: we have to destroy channels to the origin when cleaning up a member
Date: Sat, 30 Dec 2017 20:58:33 +0100

This is an automated email from the git hooks/post-receive script.

lurchi pushed a commit to branch master
in repository gnunet.

commit 2668ec4f848f5348c0876fe8dd7db97b9b71b045
Author: lurchi <address@hidden>
AuthorDate: Fri Dec 15 17:37:05 2017 +0100

    we have to destroy channels to the origin when cleaning up a member
---
 src/multicast/gnunet-service-multicast.c | 5 +++++
 1 file changed, 5 insertions(+)

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)
     GNUNET_free (mem->join_dcsn);
     mem->join_dcsn = NULL;
   }
+  if (NULL != mem->origin_channel)
+  {
+    GNUNET_CADET_channel_destroy (mem->origin_channel->channel);
+    mem->origin_channel = NULL;
+  }
   GNUNET_CONTAINER_multihashmap_remove (members, &grp->pub_key_hash, mem);
   GNUNET_free (mem);
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]