From 76bdf9756d9957386d5c3df7f8309696528a46e7 Mon Sep 17 00:00:00 2001 From: xrs Date: Tue, 26 Jun 2018 12:30:46 +0200 Subject: [PATCH] fix codesonar finding: add GNUnet_free --- src/rps/gnunet-service-rps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 1b9681663..06adec8b5 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -4172,6 +4172,7 @@ shutdown_task (void *cls) { tmp_att_peer = att_peers_head; GNUNET_CONTAINER_DLL_remove (att_peers_head, att_peers_tail, tmp_att_peer); + GNUNET_free (tmp_att_peer); } #endif /* ENABLE_MALICIOUS */ } -- 2.25.1