From 04d825597e1785b8ca02f683c563e67efa662e7f Mon Sep 17 00:00:00 2001 From: Gabor X Toth <*@tg-x.net> Date: Sat, 24 Sep 2016 00:38:40 +0000 Subject: [PATCH] multicast,psyc: switch to SERVICE API --- src/multicast/gnunet-service-multicast.c | 1 + src/psyc/gnunet-service-psyc.c | 1 + 2 files changed, 2 insertions(+) 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, { struct Client *c = app_ctx; struct Group *grp = c->group; + GNUNET_free (c); if (NULL == grp) { 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, { struct Client *c = app_ctx; struct Channel *chn = c->channel; + GNUNET_free (c); if (NULL == chn) { -- 2.25.1