summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-01-28 19:15:55 +0000
committerBart Polot <bart@net.in.tum.de>2015-01-28 19:15:55 +0000
commitf65049d53b79afe70a5adfbef38d65a5a49208c5 (patch)
treed5180590bbee276d508ae0d27485ab27c0208023 /src
parent41e1c58c1953ad8376b9e9f247d94abd313b4ae8 (diff)
- memleaks
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 2 insertions, 0 deletions
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;
}