summaryrefslogtreecommitdiff
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)
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
"Testing library failed to create unique configuration based on `%s': `%s'\n",
cfgname, emsg);
GNUNET_TRANSPORT_TESTING_stop_peer (tth, p);
+ GNUNET_free_non_null (emsg);
return NULL;
}
-
+ GNUNET_free_non_null (emsg);
if (GNUNET_OK != GNUNET_TESTING_peer_start (p->peer))
{
GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "transport-testing",