From 9637cbb0ea6e3aa908245ce9dcfdc23366e8f5dd Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Wed, 12 Sep 2018 16:02:22 +0200 Subject: Decrement statistics count for pending checks --- src/rps/gnunet-service-rps.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/rps') diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index a830bfa29..3e30041e8 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -976,6 +976,10 @@ destroy_peer (struct PeerContext *peer_ctx) { // TODO this may leak memory peer_ctx->liveliness_check_pending = NULL; + GNUNET_STATISTICS_update (stats, + "# pending liveliness checks", + -1, + GNUNET_NO); } remove_pending_message (peer_ctx->pending_messages_head, GNUNET_YES); -- cgit v1.2.3