aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_test_lib.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2018-01-01 18:54:29 -0600
committerDavid Barksdale <amatus@amat.us>2018-01-01 18:59:06 -0600
commit503717fce30f57907482678fb1abfe468309d7b1 (patch)
tree9b0b0d202ccf0e9d7b6ca050ee89458f43d96cea /src/cadet/cadet_test_lib.c
parent18a677a335becdb59d22cc60a04253268ed2ecd6 (diff)
downloadgnunet-503717fce30f57907482678fb1abfe468309d7b1.tar.gz
gnunet-503717fce30f57907482678fb1abfe468309d7b1.zip
Fix memory leaks in cadet tests
Diffstat (limited to 'src/cadet/cadet_test_lib.c')
-rw-r--r--src/cadet/cadet_test_lib.c1
1 files changed, 1 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}