gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 01/02: rps service: fix leak in to_file_()


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: rps service: fix leak in to_file_()
Date: Wed, 27 Jun 2018 04:00:14 +0200

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

julius-buenger pushed a commit to branch master
in repository gnunet.

commit 332d987a4c618f4d51abe9df9e662a59cc68b51c
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Jun 26 23:59:17 2018 +0200

    rps service: fix leak in to_file_()
---
 src/rps/gnunet-service-rps.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 33d4e4fc3..55569866b 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -3214,6 +3214,10 @@ handle_peer_push (void *cls,
                                    tmp_att_peer);
       add_peer_array_to_set (peer, 1, att_peer_set);
     }
+    else
+    {
+      GNUNET_free (tmp_att_peer);
+    }
   }
 
 

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



reply via email to

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