gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 137/164: Fixed one more


From: gnunet
Subject: [gnunet] 137/164: Fixed one more
Date: Fri, 30 Jul 2021 15:33:23 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 132c7fe354d887e420f7c06577ea31e42ad01a89
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Tue Jun 8 07:53:26 2021 +0200

    Fixed one more
---
 src/setu/gnunet-service-setu.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index ee9d62540..818fe91c9 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -1225,6 +1225,7 @@ update_message_control_flow (struct 
GNUNET_CONTAINER_MultiHashMap *hash_map,
   *mcfs = new_mcfs;
   GNUNET_CONTAINER_multihashmap_put (hash_map, hash_code,cfe,
                                      
GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE);
+  free(cfe);
   return GNUNET_YES;
 }
 
@@ -2352,6 +2353,7 @@ handle_union_p2p_strata_estimator (void *cls,
          "PROTOCOL VIOLATION: More element is set as upper boundary or other 
peer is "
          "malicious: remote diff %ld, local diff: %ld\n",
          diff_remote, diff_local);
+    free(remote_se);
     GNUNET_break_op (0);
     fail_union_operation (op);
     return;
@@ -2428,6 +2430,7 @@ handle_union_p2p_strata_estimator (void *cls,
   if ((GNUNET_YES == op->byzantine) &&
       (other_size < op->byzantine_lower_bound))
   {
+    free(remote_se);
     GNUNET_break (0);
     fail_union_operation (op);
     return;
@@ -2490,6 +2493,7 @@ handle_union_p2p_strata_estimator (void *cls,
                                             op->ibf_bucket_number_factor)))
     {
       /* Internal error, best we can do is shut the connection */
+      free(remote_se);
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Failed to send IBF, closing connection\n");
       fail_union_operation (op);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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