]> git.meshlink.io Git - meshlink/commit
Fix a memory leak when retrying outgoing connections.
authorGuus Sliepen <guus@meshlink.io>
Fri, 9 Oct 2015 20:47:55 +0000 (22:47 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 25 Jun 2017 08:16:37 +0000 (10:16 +0200)
commit9753290f339f4e2d06d11c32b62577827fe44aab
tree6f6133cc079cd9a7e48e426858f35a92eb098e9b
parent19e3a59047f31fc9143d09c3ef151f25d7d60452
Fix a memory leak when retrying outgoing connections.

When retry_outgoing_handler() calls setup_outgoing_connection(), it can
be that the old configuration is still in memory. So clean that up
before reading in new configuration data.
src/net_socket.c