summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_timeout.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:17:46 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-06-25 11:17:46 +0000
commitd583554109e1adf3aa9f63637bae0ded1155957a (patch)
tree850b768f2f16889c93d7ad6906ac8bbc875b134f /src/transport/test_transport_api_timeout.c
parent6cd16e1b2c8b7d78e11186edfbca1a5ede317f23 (diff)
fixing coverity 10467 Resource leak
Diffstat (limited to 'src/transport/test_transport_api_timeout.c')
-rw-r--r--src/transport/test_transport_api_timeout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_timeout.c b/src/transport/test_transport_api_timeout.c
index 607a2e123..a3bef6b94 100644
--- a/src/transport/test_transport_api_timeout.c
+++ b/src/transport/test_transport_api_timeout.c
@@ -249,6 +249,7 @@ start_cb (struct PeerContext *p, void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Test tries to connect peer %u (`%s') -> peer %u (`%s')\n",
p1->no, sender_c, p2->no, GNUNET_i2s (&p2->id));
+ GNUNET_free (sender_c);
cc = GNUNET_TRANSPORT_TESTING_connect_peers (tth, p1, p2, &testing_connect_cb,
NULL);