summaryrefslogtreecommitdiff
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)
struct GNUNET_TRANSPORT_TESTING_PeerContext *p;
struct GNUNET_TRANSPORT_TESTING_PeerContext *t;
+ if (NULL == tth)
+ return;
cc = tth->cc_head;
while (NULL != cc)
{