aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-09-24 12:49:48 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-09-24 12:49:48 +0000
commit1e7944dc58b57d8f38b26d760b08b6e5abcb07b7 (patch)
tree2f90b5a426af460a9a1fb0f1df15d385cd9b1371 /src/transport/transport-testing.c
parent13d2b155da4dd6c490abec845b2ff264c6c571ba (diff)
downloadgnunet-1e7944dc58b57d8f38b26d760b08b6e5abcb07b7.tar.gz
gnunet-1e7944dc58b57d8f38b26d760b08b6e5abcb07b7.zip
coverity bugs
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index f6bfa289c..035b8fe8e 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -278,9 +278,10 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth
278 "Testing library failed to create unique configuration based on `%s': `%s'\n", 278 "Testing library failed to create unique configuration based on `%s': `%s'\n",
279 cfgname, emsg); 279 cfgname, emsg);
280 GNUNET_TRANSPORT_TESTING_stop_peer (tth, p); 280 GNUNET_TRANSPORT_TESTING_stop_peer (tth, p);
281 GNUNET_free_non_null (emsg);
281 return NULL; 282 return NULL;
282 } 283 }
283 284 GNUNET_free_non_null (emsg);
284 if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer)) 285 if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer))
285 { 286 {
286 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing", 287 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing",