diff options
-rw-r--r-- | src/cadet/cadet_test_lib.c | 1 | ||||
-rw-r--r-- | src/cadet/test_cadet.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 *ctx) | |||
241 | } | 241 | } |
242 | GNUNET_free (ctx->ops); | 242 | GNUNET_free (ctx->ops); |
243 | GNUNET_free (ctx->cadets); | 243 | GNUNET_free (ctx->cadets); |
244 | GNUNET_free (ctx->handlers); | ||
244 | GNUNET_free (ctx); | 245 | GNUNET_free (ctx); |
245 | GNUNET_SCHEDULER_shutdown (); | 246 | GNUNET_SCHEDULER_shutdown (); |
246 | } | 247 | } |
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, | |||
828 | GNUNET_SCHEDULER_add_now (&gather_stats_and_exit, | 828 | GNUNET_SCHEDULER_add_now (&gather_stats_and_exit, |
829 | (void *) __LINE__); | 829 | (void *) __LINE__); |
830 | } | 830 | } |
831 | GNUNET_free (ch_w); | ||
831 | } | 832 | } |
832 | 833 | ||
833 | 834 | ||