summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}