aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/multicast/gnunet-service-multicast.c1
-rw-r--r--src/psyc/gnunet-service-psyc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c
index 75e98eae3..e84fdb20f 100644
--- a/src/multicast/gnunet-service-multicast.c
+++ b/src/multicast/gnunet-service-multicast.c
@@ -1830,6 +1830,7 @@ client_notify_disconnect (void *cls,
1830{ 1830{
1831 struct Client *c = app_ctx; 1831 struct Client *c = app_ctx;
1832 struct Group *grp = c->group; 1832 struct Group *grp = c->group;
1833 GNUNET_free (c);
1833 1834
1834 if (NULL == grp) 1835 if (NULL == grp)
1835 { 1836 {
diff --git a/src/psyc/gnunet-service-psyc.c b/src/psyc/gnunet-service-psyc.c
index 66612a451..2293c9181 100644
--- a/src/psyc/gnunet-service-psyc.c
+++ b/src/psyc/gnunet-service-psyc.c
@@ -595,6 +595,7 @@ client_notify_disconnect (void *cls,
595{ 595{
596 struct Client *c = app_ctx; 596 struct Client *c = app_ctx;
597 struct Channel *chn = c->channel; 597 struct Channel *chn = c->channel;
598 GNUNET_free (c);
598 599
599 if (NULL == chn) 600 if (NULL == chn)
600 { 601 {