From: Bart Polot Date: Wed, 28 Jan 2015 19:15:55 +0000 (+0000) Subject: - memleaks X-Git-Tag: initial-import-from-subversion-38251~2516 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f65049d53b79afe70a5adfbef38d65a5a49208c5;p=oweals%2Fgnunet.git - memleaks --- diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 4782a69df..2762339ae 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -1159,6 +1159,7 @@ do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) } } } + GNUNET_free (permut); } @@ -1420,6 +1421,7 @@ peer_remove_cb (void *cls, const struct GNUNET_PeerIdentity *key, void *value) if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_remove_all (peer_map, key)) LOG (GNUNET_ERROR_TYPE_WARNING, "removing peer from peer_map failed\n"); + GNUNET_free (peer_ctx); return GNUNET_YES; }