]> tinc-vpn.org Git - tinc/blobdiff - src/net_socket.c
Fix a few more issues found by Coverity.
[tinc] / src / net_socket.c
index cfcf1c39cded444cac8049c4910028e5116e2537..4beb665a2346d8f5eb6508af8fa79214b0db7b22 100644 (file)
@@ -102,7 +102,6 @@ static bool bind_to_interface(int sd) {
                return false;
        }
 
-       free(iface);
 #else /* if !defined(SOL_SOCKET) || !defined(SO_BINDTODEVICE) */
        logger(LOG_WARNING, "%s not supported on this platform", "BindToInterface");
 #endif