projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a768af6
)
we have to destroy channels to the origin when cleaning up a member
author
lurchi
<lurchi@strangeplace.net>
Fri, 15 Dec 2017 16:37:05 +0000
(17:37 +0100)
committer
lurchi
<lurchi@strangeplace.net>
Fri, 15 Dec 2017 16:37:05 +0000
(17:37 +0100)
src/multicast/gnunet-service-multicast.c
patch
|
blob
|
history
diff --git
a/src/multicast/gnunet-service-multicast.c
b/src/multicast/gnunet-service-multicast.c
index 83aee846c9a6b77effcaf90681408b66f4b3a614..ea64c547e6bc7bedc3873eb61e612a0a5acb6e59 100644
(file)
--- 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);
}