list_delete() already free()s the deleted element.

This commit is contained in:
Guus Sliepen 2015-11-26 11:29:54 +01:00
parent 9fdf4278f8
commit cef40b8b97

View file

@ -630,7 +630,6 @@ void setup_outgoing_connection(outgoing_t *outgoing) {
remove:
list_delete(outgoing_list, outgoing);
free(outgoing);
}
/*