[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 20/28: RECLAIM: don't leak the elements of attr_list.
From: |
gnunet |
Subject: |
[gnunet] 20/28: RECLAIM: don't leak the elements of attr_list. |
Date: |
Mon, 06 Feb 2023 06:19:22 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 3f4464acd8bf854ec4c32c80e6f4852e20511cdd
Author: ulfvonbelow <strilen@tilde.club>
AuthorDate: Sun Jan 29 06:15:16 2023 -0600
RECLAIM: don't leak the elements of attr_list.
Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
---
src/reclaim/gnunet-reclaim.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c
index da5f90409..cb8703495 100644
--- a/src/reclaim/gnunet-reclaim.c
+++ b/src/reclaim/gnunet-reclaim.c
@@ -218,7 +218,10 @@ do_cleanup (void *cls)
if (NULL != identity_handle)
GNUNET_IDENTITY_disconnect (identity_handle);
if (NULL != attr_list)
- GNUNET_free (attr_list);
+ {
+ GNUNET_RECLAIM_attribute_list_destroy (attr_list);
+ attr_list = NULL;
+ }
if (NULL != attr_to_delete)
GNUNET_free (attr_to_delete);
if (NULL == credential_type)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] 14/28: NAMESTORE: fix memory leak in parse_recordline., (continued)
- [gnunet] 14/28: NAMESTORE: fix memory leak in parse_recordline., gnunet, 2023/02/06
- [gnunet] 10/28: -HELLO: fix memory leaks in tests., gnunet, 2023/02/06
- [gnunet] 27/28: SETU: prevent misaligned access to StrataEstimatorMessage.set_size., gnunet, 2023/02/06
- [gnunet] 23/28: REVOCATION: don't leak signature purpose memory., gnunet, 2023/02/06
- [gnunet] 25/28: SETU: avoid 64-bit shift on 64-bit value., gnunet, 2023/02/06
- [gnunet] 28/28: SETU: don't leak Operation.{message_control_flow,inquiries_sent}., gnunet, 2023/02/06
- [gnunet] 19/28: RECLAIM: fix 1-byte overflow in DID_did_to_pkey., gnunet, 2023/02/06
- [gnunet] 22/28: TESTBED: don't leak helper_argv when SSH can't be executed., gnunet, 2023/02/06
- [gnunet] 24/28: REST: don't leak basic_auth_file., gnunet, 2023/02/06
- [gnunet] 26/28: -SECRETSHARING: don't leak my_share in test., gnunet, 2023/02/06
- [gnunet] 20/28: RECLAIM: don't leak the elements of attr_list.,
gnunet <=
- [gnunet] 21/28: -RECLAIM: fix memory leaks in tests., gnunet, 2023/02/06