From f65049d53b79afe70a5adfbef38d65a5a49208c5 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 28 Jan 2015 19:15:55 +0000 Subject: - memleaks --- src/rps/gnunet-service-rps.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3