[Top][All Lists]

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

[GNUnet-SVN] [gnunet] branch master updated: Fix memory leaks in cadet t

From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Fix memory leaks in cadet tests
Date: Tue, 02 Jan 2018 01:59:22 +0100

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

david-barksdale pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 503717fce Fix memory leaks in cadet tests
503717fce is described below

commit 503717fce30f57907482678fb1abfe468309d7b1
Author: David Barksdale <address@hidden>
AuthorDate: Mon Jan 1 18:54:29 2018 -0600

    Fix memory leaks in cadet tests
 src/cadet/cadet_test_lib.c | 1 +
 src/cadet/test_cadet.c     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/cadet/cadet_test_lib.c b/src/cadet/cadet_test_lib.c
index 1df6bff0d..20ef028b2 100644
--- a/src/cadet/cadet_test_lib.c
+++ b/src/cadet/cadet_test_lib.c
@@ -241,6 +241,7 @@ GNUNET_CADET_TEST_cleanup (struct GNUNET_CADET_TEST_Context 
   GNUNET_free (ctx->ops);
   GNUNET_free (ctx->cadets);
+  GNUNET_free (ctx->handlers);
   GNUNET_free (ctx);
   GNUNET_SCHEDULER_shutdown ();
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c
index 5cc9706d7..b9f177652 100644
--- a/src/cadet/test_cadet.c
+++ b/src/cadet/test_cadet.c
@@ -828,6 +828,7 @@ disconnect_handler (void *cls,
         GNUNET_SCHEDULER_add_now (&gather_stats_and_exit,
                                  (void *) __LINE__);
+  GNUNET_free (ch_w);

To stop receiving notification emails like this one, please contact

reply via email to

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