summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_limited_sockets.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-07-19 08:54:25 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-07-19 08:54:25 +0000
commit2d980e4c1be3e4f5e0d8d116b34b2a4cb0819e00 (patch)
tree2f56d3b0ca5d6f26501cdfc0f3dafb8469fca9bc /src/transport/test_transport_api_limited_sockets.c
parent755b54ebf1f10e88c9b1930fa66409682e48b7c3 (diff)
- some tests did not clean up
Diffstat (limited to 'src/transport/test_transport_api_limited_sockets.c')
-rw-r--r--src/transport/test_transport_api_limited_sockets.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_limited_sockets.c b/src/transport/test_transport_api_limited_sockets.c
index c605a3182..e3c294a1c 100644
--- a/src/transport/test_transport_api_limited_sockets.c
+++ b/src/transport/test_transport_api_limited_sockets.c
@@ -94,6 +94,8 @@ end ()
GNUNET_TRANSPORT_TESTING_stop_peer (tth, p1);
GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2);
+ GNUNET_TRANSPORT_TESTING_done (tth);
+
}
static void
@@ -118,6 +120,9 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
if (p2 != NULL)
GNUNET_TRANSPORT_TESTING_stop_peer (tth, p2);
+ if (NULL != th)
+ GNUNET_TRANSPORT_TESTING_done (tth);
+
ok = GNUNET_SYSERR;
}