fixing unchecked return values
[oweals/gnunet.git] / src / transport / plugin_transport_tcp.c
index 7664fd931d0d62da613220f3948597ef52f02ac7..da38e7cc7b0ac13f3b0d89999cba231ccc99d6f1 100644 (file)
@@ -2098,6 +2098,7 @@ handle_tcp_welcome (void *cls, struct GNUNET_SERVER_Client *client,
       else
       {
         GNUNET_break (0);
+        GNUNET_free_non_null (vaddr);
         return;
       }
       session = create_session (plugin, address, client, GNUNET_NO);