From cef40b8b978694fc0e7c02e292fcbb60806bf028 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 26 Nov 2015 11:29:54 +0100 Subject: [PATCH] list_delete() already free()s the deleted element. --- src/net_socket.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net_socket.c b/src/net_socket.c index 11b6320..767e91e 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); } /* -- 2.25.1