From: Aaron Krebs Date: Wed, 30 Jul 2014 16:04:17 +0000 (+0200) Subject: Free memory. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=77b943ba09731447a92485aa10d928e696de6ed7;p=meshlink Free memory. --- diff --git a/src/meshlink.c b/src/meshlink.c index d79739ca..bb17fcac 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1526,6 +1526,10 @@ extern void meshlink_hint_address(meshlink_handle_t *mesh, char *hostname, struc append_config_file(mesh, n->name, "Address", full_addr_str); + free(addr_str); + free(port_str); + free(full_addr_str); + // TODO do we want to fire off a connection attempt right away? }