From: Guus Sliepen Date: Thu, 26 Nov 2015 10:29:54 +0000 (+0100) Subject: list_delete() already free()s the deleted element. X-Git-Tag: release-1.1pre12~79 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=cef40b8b978694fc0e7c02e292fcbb60806bf028;p=tinc list_delete() already free()s the deleted element. --- diff --git a/src/net_socket.c b/src/net_socket.c index 11b63202..767e91e9 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -630,7 +630,6 @@ void setup_outgoing_connection(outgoing_t *outgoing) { remove: list_delete(outgoing_list, outgoing); - free(outgoing); } /*