gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated (2bdcb4fa9 -> 0759e1e79)


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated (2bdcb4fa9 -> 0759e1e79)
Date: Tue, 26 Jun 2018 12:31:22 +0200

This is an automated email from the git hooks/post-receive script.

xrs pushed a change to branch master
in repository gnunet.

    from 2bdcb4fa9 fix build
     new e54f88a36 fix codesonar finding: add CLOSE(fd)
     new 76bdf9756 fix codesonar finding: add GNUnet_free
     new fb3a42054 add check
     new 0759e1e79 Merge branch 'master' of ssh://gnunet.org/gnunet

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/gns/gnunet-bcd.c         | 1 +
 src/rps/gnunet-service-rps.c | 1 +
 src/rps/test_rps.c           | 3 +++
 3 files changed, 5 insertions(+)

diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c
index 5279e83a4..a82607b94 100644
--- a/src/gns/gnunet-bcd.c
+++ b/src/gns/gnunet-bcd.c
@@ -499,6 +499,7 @@ run (void *cls,
     return;
   GNUNET_SCHEDULER_add_shutdown (&server_stop,
                                 NULL);
+  CLOSE(fd);
 }
 
 
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 */
 }
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 3ef1e6611..e7b82458a 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -953,6 +953,8 @@ rps_connect_complete_cb (void *cls,
   struct RPSPeer *rps_peer = cls;
   struct GNUNET_RPS_Handle *rps = ca_result;
 
+  GNUNET_assert (NULL != ca_result);
+
   if (GNUNET_YES == in_shutdown || GNUNET_YES == post_test)
   {
     return;
@@ -2905,6 +2907,7 @@ main (int argc, char *argv[])
   }
 
   ret_value = cur_test_run.eval_cb();
+  
   if (NO_COLLECT_VIEW == cur_test_run.have_collect_view)
   {
     GNUNET_array_grow (rps_peers->cur_view,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]