]> git.meshlink.io Git - meshlink/commit
Fix socket leak every time meshlink_invite() is called.
authorGuus Sliepen <guus@meshlink.io>
Tue, 20 Nov 2018 14:58:41 +0000 (15:58 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 20 Nov 2018 14:58:57 +0000 (15:58 +0100)
commitc99339abe31cf11172fe5f903d70884336272513
tree989995124f41057328aa04307a971909eab940f3
parentb8d9f9f97b63565bfe56c248428a49bc3f6a1e47
Fix socket leak every time meshlink_invite() is called.

getlocaladdrname() would leak a socket every time it was called, which is
twice for every call to meshlink_invite() using the default flags.
src/meshlink.c