[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 08/28: fix memory leak
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 08/28: fix memory leak |
Date: |
Fri, 10 Mar 2017 18:18:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 8939dc23ba994b2e077d06bd2c7a61c08919663f
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 10 17:30:54 2017 +0100
fix memory leak
---
src/consensus/gnunet-service-consensus.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/consensus/gnunet-service-consensus.c
b/src/consensus/gnunet-service-consensus.c
index ba84f64a2..7911db8b0 100644
--- a/src/consensus/gnunet-service-consensus.c
+++ b/src/consensus/gnunet-service-consensus.c
@@ -905,7 +905,7 @@ cmp_uint64_t (const void *pa, const void *pb)
* in the result set.
*
* @param cls closure
- * @param element a result element, only valid if status is
GNUNET_SET_STATUS_OK
+ * @param element a result element, only valid if status is
#GNUNET_SET_STATUS_OK
* @param current_size current set size
* @param status see enum GNUNET_SET_Status
*/
@@ -1022,6 +1022,7 @@ set_result_cb (void *cls,
"P%u: lower bound %llu\n",
session->local_peer_idx,
(long long) session->lower_bound);
+ GNUNET_free (copy);
}
return;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (1fee963ef -> 9fc7ff92a), gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 01/28: fix use of uninitialized (shadow-issue) expiration, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 08/28: fix memory leak,
gnunet <=
- [GNUnet-SVN] [gnunet] 03/28: make sure 'err' is initialized on all error paths, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 06/28: properly handle error on empty queue, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 04/28: handle case 'diff' is NULL - fixes NPE, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 02/28: make compiler happy, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 05/28: fix comment, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 07/28: fix memory leak, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 10/28: fix memory leak, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 20/28: fix out-of-bounds case in parser, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 15/28: add assertion to make static analysis happy, gnunet, 2017/03/10
- [GNUnet-SVN] [gnunet] 16/28: disambiguate enum type of value, gnunet, 2017/03/10