[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 26/28: -SECRETSHARING: don't leak my_share in test.
From: |
gnunet |
Subject: |
[gnunet] 26/28: -SECRETSHARING: don't leak my_share in test. |
Date: |
Mon, 06 Feb 2023 06:19:28 +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 f4869a6bd1909281d2d3c8c7dfb667e80db7b308
Author: ulfvonbelow <strilen@tilde.club>
AuthorDate: Sun Jan 29 05:57:47 2023 -0600
-SECRETSHARING: don't leak my_share in test.
Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
---
src/secretsharing/test_secretsharing_api.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/secretsharing/test_secretsharing_api.c
b/src/secretsharing/test_secretsharing_api.c
index 227af1c3e..470bfddf4 100644
--- a/src/secretsharing/test_secretsharing_api.c
+++ b/src/secretsharing/test_secretsharing_api.c
@@ -45,6 +45,7 @@ secret_ready_cb (void *cls,
success = 1;
// FIXME: check that our share is valid, which we can do as there's only
// one peer.
+ GNUNET_SECRETSHARING_share_destroy (my_share);
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "secret ready, shutting down\n");
GNUNET_SCHEDULER_shutdown ();
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] 13/28: -NAMESTORE: fix memory leaks in tests., (continued)
- [gnunet] 13/28: -NAMESTORE: fix memory leaks in tests., gnunet, 2023/02/06
- [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 <=
- [gnunet] 20/28: RECLAIM: don't leak the elements of attr_list., gnunet, 2023/02/06
- [gnunet] 21/28: -RECLAIM: fix memory leaks in tests., gnunet, 2023/02/06