fix codesonar finding: add GNUnet_free
authorxrs <xrs@mail36.net>
Tue, 26 Jun 2018 10:30:46 +0000 (12:30 +0200)
committerxrs <xrs@mail36.net>
Tue, 26 Jun 2018 10:30:46 +0000 (12:30 +0200)
src/rps/gnunet-service-rps.c

index 1b96816637f99cb2018407ddf3f168766375d94c..06adec8b51ab00ce5dcb7725ecd69038da6c7363 100644 (file)
@@ -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 */
 }