summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/test_transport_api_disconnect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c
index 30f952a8a..9fc317ac7 100644
--- a/src/transport/test_transport_api_disconnect.c
+++ b/src/transport/test_transport_api_disconnect.c
@@ -147,6 +147,7 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
147 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 147 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
148 "Peer %u (`%4s'): peer (`%s') disconnected from me!\n", p->no, ps, 148 "Peer %u (`%4s'): peer (`%s') disconnected from me!\n", p->no, ps,
149 GNUNET_i2s (peer)); 149 GNUNET_i2s (peer));
150 GNUNET_free (ps);
150 151
151 if (th != NULL) 152 if (th != NULL)
152 GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); 153 GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);