diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-04-07 13:52:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-04-07 13:52:35 +0000 |
commit | 13da047628192121db09c1aa5bb2c30f9118f5e1 (patch) | |
tree | 5795c2e21f57ba189c4d98548ee18d3231c8d848 /src/transport/plugin_transport_tcp.c | |
parent | 93a5eb9f4553b2fce28746f3d93e04eab2758301 (diff) | |
download | gnunet-13da047628192121db09c1aa5bb2c30f9118f5e1.tar.gz gnunet-13da047628192121db09c1aa5bb2c30f9118f5e1.zip |
-fixing hypothetical leak on error path
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 7664fd931..da38e7cc7 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -2098,6 +2098,7 @@ handle_tcp_welcome (void *cls, struct GNUNET_SERVER_Client *client, | |||
2098 | else | 2098 | else |
2099 | { | 2099 | { |
2100 | GNUNET_break (0); | 2100 | GNUNET_break (0); |
2101 | GNUNET_free_non_null (vaddr); | ||
2101 | return; | 2102 | return; |
2102 | } | 2103 | } |
2103 | session = create_session (plugin, address, client, GNUNET_NO); | 2104 | session = create_session (plugin, address, client, GNUNET_NO); |