From: xrs Date: Tue, 26 Jun 2018 10:30:46 +0000 (+0200) Subject: fix codesonar finding: add GNUnet_free X-Git-Tag: v0.11.0~340 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76bdf9756d9957386d5c3df7f8309696528a46e7;p=oweals%2Fgnunet.git fix codesonar finding: add GNUnet_free --- 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 */ }