aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index a2f91d761..95f4eb671 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -637,6 +637,8 @@ GNUNET_TRANSPORT_TESTING_done (struct GNUNET_TRANSPORT_TESTING_Handle *tth)
637 struct GNUNET_TRANSPORT_TESTING_PeerContext *p; 637 struct GNUNET_TRANSPORT_TESTING_PeerContext *p;
638 struct GNUNET_TRANSPORT_TESTING_PeerContext *t; 638 struct GNUNET_TRANSPORT_TESTING_PeerContext *t;
639 639
640 if (NULL == tth)
641 return;
640 cc = tth->cc_head; 642 cc = tth->cc_head;
641 while (NULL != cc) 643 while (NULL != cc)
642 { 644 {