From: Gabor X Toth <*@tg-x.net> Date: Sat, 24 Sep 2016 00:38:40 +0000 (+0000) Subject: multicast,psyc: switch to SERVICE API X-Git-Tag: initial-import-from-subversion-38251~220 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04d825597e1785b8ca02f683c563e67efa662e7f;p=oweals%2Fgnunet.git multicast,psyc: switch to SERVICE API --- 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) {