diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-25 11:14:51 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-25 11:14:51 +0000 |
commit | 52ffafc5c3c1ffea04b71e8eeb39eb55315296a0 (patch) | |
tree | 23c70c00be51db7d094fc7a5d9525842d9e343a1 /src/transport/test_transport_api_disconnect.c | |
parent | fae024d9cfaa6294d53c9cdedbb8c35b258b8539 (diff) | |
download | gnunet-52ffafc5c3c1ffea04b71e8eeb39eb55315296a0.tar.gz gnunet-52ffafc5c3c1ffea04b71e8eeb39eb55315296a0.zip |
fixing coverity 10465: Resource leak
Diffstat (limited to 'src/transport/test_transport_api_disconnect.c')
-rw-r--r-- | src/transport/test_transport_api_disconnect.c | 1 |
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); |