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 | |
parent | fae024d9cfaa6294d53c9cdedbb8c35b258b8539 (diff) |
fixing coverity 10465: Resource leak
Diffstat (limited to 'src')
-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 30f952a8a6..9fc317ac7e 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) GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s'): peer (`%s') disconnected from me!\n", p->no, ps, GNUNET_i2s (peer)); + GNUNET_free (ps); if (th != NULL) GNUNET_TRANSPORT_notify_transmit_ready_cancel (th); |